chiark / gitweb /
Spot it's only me regardless of case of my nick.
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Mon, 15 Jan 2001 02:49:56 +0000 (02:49 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Mon, 15 Jan 2001 02:49:56 +0000 (02:49 +0000)
bot.tcl

diff --git a/bot.tcl b/bot.tcl
index e313f5b3cf702d0b511b537a5585c0bd15342f17..fd2bdf91773cbf4368eb693a737495b190d4b4fe 100755 (executable)
--- 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" != "*"} {