~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
b164f12
..
b110b28
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]} {
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
}
sendprivmsg $channel "* $n $text"
return
}