diff options
Diffstat (limited to 'telegrab-chat.tcl')
| -rw-r--r-- | telegrab-chat.tcl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/telegrab-chat.tcl b/telegrab-chat.tcl index b99dfcf..f48ecad 100644 --- a/telegrab-chat.tcl +++ b/telegrab-chat.tcl @@ -1,7 +1,7 @@ bind pubm * "#telegrab *" telegrab-privmsg proc telegrab-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])} { |
