diff options
| author | 2025-10-27 15:27:50 -0600 | |
|---|---|---|
| committer | 2025-10-27 15:27:50 -0600 | |
| commit | 644ca445356bf755a9391544e0322037bcadf404 (patch) | |
| tree | c501e13e89bd57d321da653af727a0074895b9b8 | |
| parent | xcancel -> nitter (diff) | |
tell - update equality test
| -rw-r--r-- | tell.tcl | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 } |
