X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/ircbot/blobdiff_plain/cd8c3236df9b5e2804e34f6a36fe714c4e626b1c..6b33d29a2ffb4244bae6b51b2114039e2edb54ba:/usebnbot.tcl diff --git a/usebnbot.tcl b/usebnbot.tcl index b164f12..b110b28 100644 --- a/usebnbot.tcl +++ b/usebnbot.tcl @@ -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 }