aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar John Runyon2025-10-27 15:27:50 -0600
committerGravatar John Runyon2025-10-27 15:27:50 -0600
commit644ca445356bf755a9391544e0322037bcadf404 (patch)
treec501e13e89bd57d321da653af727a0074895b9b8
parentxcancel -> nitter (diff)
tell - update equality test
-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
}