From 868921287e5f8bfbab6ac285e987e845c660be0d Mon Sep 17 00:00:00 2001 Message-Id: <868921287e5f8bfbab6ac285e987e845c660be0d.1717594888.git.mdw@distorted.org.uk> From: Mark Wooding Date: Wed, 6 Sep 2000 01:24:36 +0000 Subject: [PATCH] Check security on !set, and cosmetic fixes. Organization: Straylight/Edgeware From: Ian Jackson --- 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'" } -- [mdw]