]> git.donarmstrong.com Git - infobot.git/blobdiff - src/UserExtra.pl
- forgot Module for news.
[infobot.git] / src / UserExtra.pl
index 56c3ccfcc4902c6407195934dd8efd0de36c44b9..6e6b81e954ac4fa114e29bb7f78daaded6eb246d 100644 (file)
@@ -31,7 +31,8 @@ use vars qw(%channels %chanstats %cmdstats);
        Forker => "NULL", ) );
 &addCmdHook("main", 'tell|explain', ('CODEREF' => 'tell', 
        Help => 'tell', Identifier => 'allowTelling', ) );
-&addCmdHook("main", 'news', ('CODEREF' => 'News::Parse', ) );
+&addCmdHook("main", 'news', ('CODEREF' => 'News::Parse', 
+       Module => 'news', Identifier => 'news') );
 
 &status("CMD: loaded ".scalar(keys %hooks_main)." MAIN command hooks.");