aboutsummaryrefslogtreecommitdiff
path: root/down-the-tube-chat.tcl
diff options
context:
space:
mode:
Diffstat (limited to 'down-the-tube-chat.tcl')
-rw-r--r--down-the-tube-chat.tcl2
1 files changed, 1 insertions, 1 deletions
diff --git a/down-the-tube-chat.tcl b/down-the-tube-chat.tcl
index 4efbe7c..61fd490 100644
--- a/down-the-tube-chat.tcl
+++ b/down-the-tube-chat.tcl
@@ -1,7 +1,7 @@
bind pubm * "#down-the-tube *" dtt-privmsg
proc dtt-privmsg {nick uhost hand chan text} {
- if {([string index $text 0] == "!") && ([string index $text 1] != " ")} {
+ if {([string index $text 0] == "!") && (([string index $text 1] != " ") && ([string length $text] != "1"))} {
return 0
}
if {([string match "*@archiveteam/Aramaki" $uhost]) || ([string match "*@hackint/user/h2ibot" $uhost])} {