chiark
/
gitweb
/
~mdw
/
ircbot
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
== => string compare (!)
[ircbot]
/
usebnbot.tcl
diff --git
a/usebnbot.tcl
b/usebnbot.tcl
index b164f12831be89b965efefe5fa9624a75e6d5acf..b110b28c6ec9d5adb674b159e59459cb88d08cab 100644
(file)
--- 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
}