]> git.donarmstrong.com Git - infobot.git/blobdiff - src/UserExtra.pl
A round of fixes:
[infobot.git] / src / UserExtra.pl
index 56c3ccfcc4902c6407195934dd8efd0de36c44b9..be48b367b41568bc9382e934588710bf272569fb 100644 (file)
@@ -30,8 +30,10 @@ use vars qw(%channels %chanstats %cmdstats);
        Help => 'nslookup', Identifier => 'allowDNS',
        Forker => "NULL", ) );
 &addCmdHook("main", 'tell|explain', ('CODEREF' => 'tell', 
-       Help => 'tell', Identifier => 'allowTelling', ) );
-&addCmdHook("main", 'news', ('CODEREF' => 'News::Parse', ) );
+       Help => 'tell', Identifier => 'allowTelling',
+       Cmdstats => 'Tell') );
+&addCmdHook("main", 'news', ('CODEREF' => 'News::Parse', 
+       Module => 'news', Identifier => 'news') );
 
 &status("CMD: loaded ".scalar(keys %hooks_main)." MAIN command hooks.");