X-Git-Url: https://git.distorted.org.uk/~mdw/ircbot/blobdiff_plain/c508866789d53886b40740083cb13ffdad85e45f..e4d6b18fc4293649ea7ffa48dbfc0d2684ce19ad:/bot.tcl?ds=sidebyside diff --git a/bot.tcl b/bot.tcl index dabbf26..fe62bc5 100755 --- a/bot.tcl +++ b/bot.tcl @@ -505,7 +505,7 @@ proc chanmode_o1 {m g p chan} { set chan_initialop([irctolower $chan]) $u sendprivmsg $n \ "Thanks. You can use `channel manager ...' to register this channel." - if {![string length [nickdb_get_username $n username]]} { + if {![string length [nickdb_get_username $n]]} { sendprivmsg $n \ "(But to do that you must register your nick securely first.)" }