From: Ian Jackson Date: Wed, 6 Sep 2000 01:24:36 +0000 (+0000) Subject: Check security on !set, and cosmetic fixes. X-Git-Tag: branchpoint-2001-10-09-tell~56 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/ircbot/commitdiff_plain/868921287e5f8bfbab6ac285e987e845c660be0d 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'" }