]> git.donarmstrong.com Git - infobot.git/commitdiff
- forgot Module for news.
authordms <dms@c11ca15a-4712-0410-83d8-924469b57eb5>
Sat, 7 Apr 2001 12:06:26 +0000 (12:06 +0000)
committerdms <dms@c11ca15a-4712-0410-83d8-924469b57eb5>
Sat, 7 Apr 2001 12:06:26 +0000 (12:06 +0000)
git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@431 c11ca15a-4712-0410-83d8-924469b57eb5

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.");