From: Mark Wooding Date: Sat, 1 Sep 2012 17:18:28 +0000 (+0100) Subject: bot.tcl: Trim spurious argument to nickdb_get_username. X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/ircbot/commitdiff_plain/8db8c10f98ce1085510a1d17d609fc516ced1143 bot.tcl: Trim spurious argument to nickdb_get_username. Otherwise /OPping Blight fails. --- 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.)" }