]> git.donarmstrong.com Git - infobot.git/commitdiff
* Added chanset for verstats to allow disabling of command to prevent abuse
authordjmcgrath <djmcgrath@c11ca15a-4712-0410-83d8-924469b57eb5>
Sat, 17 May 2008 18:52:08 +0000 (18:52 +0000)
committerdjmcgrath <djmcgrath@c11ca15a-4712-0410-83d8-924469b57eb5>
Sat, 17 May 2008 18:52:08 +0000 (18:52 +0000)
* Added missing help for verstats
* Sample infobot.chan updated to enable verstats by default

git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk@1831 c11ca15a-4712-0410-83d8-924469b57eb5

ChangeLog
files/infobot.help
files/sample/infobot.chan
src/CommandStubs.pl

index de20dc498957277dbb8cac5cf5b68e26438f2618..6734c9feb6aaf0fc85de0a2613649220a8b870a3 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -10,6 +10,8 @@ questions in non addressed mode
 
 * Fixed bug in babelfish module due to site/html changes
 
+* Added chanset and help for verstats to allow disabling of command to prevent abuse
+
 1.5.2
 =====
 
index 5b3853c1e82971c6d42221021e2744d3fdc3402f..59b4bd880802c0ef3f414ed55afe2203c4048bf1 100644 (file)
@@ -481,6 +481,11 @@ userdel: D: Administrative command to remove a user from the .users file
 userdel: U: ## <user>
 userdel: E: ## SomeAccount
 
+verstats: D: Commnd to CTCP VERSION the specified channel for client statistics
+verstats: U: ## <channel>
+verstats: E: ## #infobot
+verstats: E: < infobot> IRC Client versions for #infobot (2): unknown/cloak - 3 (75%) ;; irssi - 1 (25%).
+
 wantnick: If someone's taken my nick (I hope not) and I'm using some temporary nick, I can change back to my original nick if it's not taken (again).
 
 whois: D: List available information for an account on the bot
index 40ea9faf78afb055741e4bd340bf945eb554507b..a9742aeca81f24e17cf56687bcbca02818cba705 100644 (file)
@@ -101,6 +101,7 @@ _default
     +spell
     +tell
     +upsidedown
+    +verstats
     +wikipedia
     +wtf
     +zfi
index d3c4e4d5f8b070ffe132eeadd23cbd5267f113fd..ebfefb84fab6ffbffee73f96c634d3404f4c27e0 100644 (file)
@@ -837,7 +837,7 @@ sub do_text_counters {
 &addCmdHook('upsidedown', ('CODEREF' => 'upsidedown::upsidedown', 'Identifier' => 'upsidedown', 'Cmdstats' => 'upsidedown', 'Forker' => 1, 'Module' => 'upsidedown') );
 &addCmdHook('Uptime', ('CODEREF' => 'uptime', 'Identifier' => 'Uptime', 'Cmdstats' => 'Uptime') );
 &addCmdHook('u(ser)?info', ('CODEREF' => 'userinfo', 'Identifier' => 'UserInfo', 'Help' => 'userinfo', 'Module' => 'UserInfo') );
-&addCmdHook('verstats', ('CODEREF' => 'do_verstats' ) );
+&addCmdHook('verstats', ('CODEREF' => 'do_verstats', 'Identifier' => 'verstats', 'Help' => 'verstats', 'Cmdstats' => 'verstats') );
 &addCmdHook('Weather', ('CODEREF' => 'Weather::Weather', 'Identifier' => 'Weather', 'Help' => 'weather', 'Cmdstats' => 'Weather', 'Forker' => 1, 'Module' => 'Weather') );
 &addCmdHook('wiki(pedia)?', ('CODEREF' => 'wikipedia::wikipedia', 'Identifier' => 'wikipedia', 'Cmdstats' => 'wikipedia', 'Forker' => 1, 'Help' => 'wikipedia', 'Module' => 'wikipedia') );
 &addCmdHook('wtf', ('CODEREF' => 'wtf::query', 'Identifier' => 'wtf', 'Cmdstats' => 'wtf', 'Forker' => 1, 'Help' => 'wtf', 'Module' => 'wtf') );