X-Git-Url: https://git.distorted.org.uk/~mdw/ircbot/blobdiff_plain/5694c7d4c4585b42a88b9b55fa0b0c9f36af462f..bb72ec7b3d1a2cac3c26fea0c812c17f5559b478:/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 }