chiark / gitweb /
Check security on !set, and cosmetic fixes.
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 6 Sep 2000 01:24:36 +0000 (01:24 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 6 Sep 2000 01:24:36 +0000 (01:24 +0000)
bot.tcl

diff --git a/bot.tcl b/bot.tcl
index 602a5a32fc3b78948571275df1bc82a76bc1a968..dff9ab30618223234ac6fd18ac3feec6186a341c 100755 (executable)
--- 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'"
            }