]> git.donarmstrong.com Git - infobot.git/commitdiff
cleanup UserDCC
authortimriker <timriker@c11ca15a-4712-0410-83d8-924469b57eb5>
Thu, 18 Nov 2004 08:16:55 +0000 (08:16 +0000)
committertimriker <timriker@c11ca15a-4712-0410-83d8-924469b57eb5>
Thu, 18 Nov 2004 08:16:55 +0000 (08:16 +0000)
git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@1043 c11ca15a-4712-0410-83d8-924469b57eb5

src/IRC/IrcHooks.pl
src/Process.pl
src/modules.pl

index ca6bcce696c6820bac705a657637b9e9af72f47e..d841df6a7c01eaecc0b525766737228cd9b6f58d 100644 (file)
@@ -115,7 +115,7 @@ sub on_chat {
 
     if ($message =~ s/^\.//) { # dcc chat commands.
        ### TODO: make use of &Forker(); here?
-       &loadMyModule( $myModules{'ircdcc'} );
+       &loadMyModule( $myModules{'UserDCC'} );
 
        &DCCBroadcast("#$who# $message","m");
 
index b07e02bb1da33e41b1887370d8aa689effc5551c..42602ba3735ae890fcdeb8b88c56b190acb206b6 100644 (file)
@@ -340,7 +340,7 @@ sub process {
 
        # allow administration of bot via messages (default is DCC CHAT only)
        if (&IsFlag("A")) {
-           &loadMyModule( $myModules{'ircdcc'} );
+           &loadMyModule( $myModules{'UserDCC'} );
            $er = &userDCC();
            if (!defined $er) {
                return 'SOMETHING 2';
index 6a6368c168656a5f6bffac2bbb8ebf90768937e8..c29ec0da4e34773590a77b607ffaa2cceac5113d 100644 (file)
@@ -34,7 +34,7 @@ if ($@) {
        "factoids"      => "Factoids.pl",
        "HTTPDtype"     => "HTTPDtype.pl",
        "insult"        => "insult.pl",
-       "ircdcc"        => "UserDCC.pl",
+       "UserDCC"       => "UserDCC.pl",
        "kernel"        => "Kernel.pl",
        "news"          => "News.pl",
        "nickometer"    => "nickometer.pl",