From c362e1729f5517438d2d96c9793cf5754cdb3f3e Mon Sep 17 00:00:00 2001 Message-Id: From: Mark Wooding Date: Thu, 7 Sep 2000 01:06:47 +0000 Subject: [PATCH] Recognise nicks lc too. Organization: Straylight/Edgeware From: Ian Jackson --- bot.tcl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bot.tcl b/bot.tcl index 598223b..b187113 100755 --- a/bot.tcl +++ b/bot.tcl @@ -755,7 +755,8 @@ proc nick_securitycheck {strict} { proc channel_securitycheck {channel n} { # You must also call `nick_securitycheck 1' - if {[lsearch -exact [irctolower [chandb_get $channel managers]] $n] < 0} { + set mgrs [chandb_get $channel managers] + if {[lsearch -exact [irctolower $mgrs] [irctolower $n]] < 0} { error "you are not a manager of $channel" } } -- [mdw]