From b1dc90255f8abd3d46891a3ff816c6faff1c9abe Mon Sep 17 00:00:00 2001 From: ijackson Date: Wed, 6 Sep 2000 01:24:36 +0000 Subject: [PATCH] Check security on !set, and cosmetic fixes. --- bot.tcl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bot.tcl b/bot.tcl index 602a5a3..dff9ab3 100755 --- a/bot.tcl +++ b/bot.tcl @@ -731,7 +731,7 @@ def_ucmd register { proc timeformat_desc {tf} { switch -exact $tf { - ks { return "Times will be displayed in kiloseconds or seconds." } + ks { return "Times will be displayed in seconds or kiloseconds." } hms { return "Times will be displayed in hours, minutes, etc." } default { error "invalid timeformat: $v" } } @@ -791,6 +791,7 @@ def_ucmd set { if {![ta_anymore]} { ucmdr {} "$opt [set_show/$opt]" } else { + nick_securitycheck 0 if {[catch { info body set_set/$opt }]} { error "setting $opt cannot be set with `set'" } -- 2.30.2