chiark / gitweb /
Bugfixes to privacy
[ircbot.git] / usebnbot.tcl
index b164f12831be89b965efefe5fa9624a75e6d5acf..b110b28c6ec9d5adb674b159e59459cb88d08cab 100644 (file)
@@ -47,7 +47,7 @@ def_bnbot onread {args} {
        sendprivmsg $channel "\[$n] $text"
        return
     } elseif {[regexp {^1023 EMOTE ([^ ]+) \w+ \"(.*)\"$} $l dummy n text]} {
-       if {"$n" == "$bnnick"} return
+       if {![ircnick_compare $n $bnnick]} return
        sendprivmsg $channel "* $n $text"
        return
     }