chiark / gitweb /
Produce error if you say "register spong". Change mustpingbefore to muststartby...
[ircbot] / bot.tcl
diff --git a/bot.tcl b/bot.tcl
index fc98c2ee35e78e94f274a4353e5147159e1767d9..3da92b3f490237dbeb4cad56fe9d8cabc3e03d6f 100755 (executable)
--- a/bot.tcl
+++ b/bot.tcl
@@ -1026,6 +1026,9 @@ def_ucmd register {
                ucmdr {} "This is fine, but bear in mind that people will be able to mess with your settings.  Channel management features need a secure registration." "makes an insecure registration for your nick."
            }
        }
+       default {
+           error "you mean register / register delete / register insecure"
+       }
     }
 }