aboutsummaryrefslogtreecommitdiff
path: root/remind.tcl
diff options
context:
space:
mode:
Diffstat (limited to 'remind.tcl')
-rw-r--r--remind.tcl2
1 files changed, 1 insertions, 1 deletions
diff --git a/remind.tcl b/remind.tcl
index e27805e..d6a4699 100644
--- a/remind.tcl
+++ b/remind.tcl
@@ -204,7 +204,7 @@ proc pub:newReminder {nick host handle chan text} {
set time [catch {clock scan $when} timeResult]
set what [lrange $text 2 end]
- if {$who == ""} {
+ if {$who == "" || $when == "" || $what == ""} {
putserv "NOTICE $chan :\[remind\] !remind <nick> \"<time>\" <message> (time is a format parseable by the TCL command 'clock scan' - https://www.tcl.tk/man/tcl8.6/TclCmd/clock.html)"
return 0
}