From: ijackson Date: Wed, 6 Sep 2000 01:24:36 +0000 (+0000) Subject: Check security on !set, and cosmetic fixes. X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ijackson/git?a=commitdiff_plain;h=b1dc90255f8abd3d46891a3ff816c6faff1c9abe;p=ircbot.git Check security on !set, and cosmetic fixes. --- 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'" }