~mdw
/
ircbot
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
2008736
)
Recognise nicks lc too.
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Thu, 7 Sep 2000 01:06:47 +0000
(
01:06
+0000)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Thu, 7 Sep 2000 01:06:47 +0000
(
01:06
+0000)
bot.tcl
patch
|
blob
|
blame
|
history
diff --git
a/bot.tcl
b/bot.tcl
index
598223b
..
b187113
100755
(executable)
--- 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'
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"
}
}
error "you are not a manager of $channel"
}
}