From: Ian Jackson Date: Mon, 15 Jan 2001 02:49:56 +0000 (+0000) Subject: Spot it's only me regardless of case of my nick. X-Git-Tag: branchpoint-2001-10-09-tell~35 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/ircbot/commitdiff_plain/e2af9bcb6f071558b4815ff30aaeb937df2bec21 Spot it's only me regardless of case of my nick. --- diff --git a/bot.tcl b/bot.tcl index e313f5b..fd2bdf9 100755 --- a/bot.tcl +++ b/bot.tcl @@ -526,7 +526,7 @@ proc check_justme {lchan} { global nick upvar #0 chan_nicks($lchan) nlist if {[llength $nlist] != 1} return - if {"[lindex $nlist 0]" != "$nick"} return + if {"[lindex $nlist 0]" != "[irctolower $nick]"} return if {[chandb_exists $lchan]} { set mode [chandb_get $lchan mode] if {"$mode" != "*"} {