aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tell.tcl6
1 files changed, 3 insertions, 3 deletions
diff --git a/tell.tcl b/tell.tcl
index 26555fd..f8e72ea 100644
--- a/tell.tcl
+++ b/tell.tcl
@@ -19,17 +19,17 @@ proc tell {nick uhost hand chan text} {
set msg [join [lrange [split $text] 1 end] " "]
set message [format "\[%s\] <%s> %s" [clock format [clock seconds] -format "%Y-%m-%dT%H:%M:%SZ" -gmt true] $nick $msg]
- if {$target == ""} {
+ if {$target eq ""} {
putserv "NOTICE $chan :\[tell\] syntax: !tell <nick/hostmask> <message>"
return 0
}
- if {$msg == ""} {
+ if {$msg eq ""} {
putserv "NOTICE $chan :\[tell\] syntax: !tell <nick/hostmask> <message>"
return 0
}
- if {$target == $nick} {
+ if {$target eq $nick} {
putserv "NOTICE $nick :\[tell\] look at the shape you're in, talking to the walls again..."
return 0
}