chiark
/
gitweb
/
~mdw
/
ircbot
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
c508866
)
bot.tcl: Trim spurious argument to nickdb_get_username.
author
Mark Wooding
<mdw@distorted.org.uk>
Sat, 1 Sep 2012 17:18:28 +0000
(18:18 +0100)
committer
Mark Wooding
<mdw@distorted.org.uk>
Sat, 1 Sep 2012 17:18:28 +0000
(18:18 +0100)
Otherwise /OPping Blight fails.
bot.tcl
patch
|
blob
|
blame
|
history
diff --git
a/bot.tcl
b/bot.tcl
index dabbf26433e377646b4473ea6bddf0315bb5ac30..fe62bc5e8999fc4b9410a98134002e086f7c0b19 100755
(executable)
--- a/
bot.tcl
+++ b/
bot.tcl
@@
-505,7
+505,7
@@
proc chanmode_o1 {m g p chan} {
set chan_initialop([irctolower $chan]) $u
sendprivmsg $n \
"Thanks. You can use `channel manager ...' to register this channel."
- if {![string length [nickdb_get_username $n
username
]]} {
+ if {![string length [nickdb_get_username $n]]} {
sendprivmsg $n \
"(But to do that you must register your nick securely first.)"
}