]> git.donarmstrong.com Git - infobot.git/commitdiff
plug -> Plug
authortimriker <timriker@c11ca15a-4712-0410-83d8-924469b57eb5>
Tue, 23 Nov 2004 04:34:01 +0000 (04:34 +0000)
committertimriker <timriker@c11ca15a-4712-0410-83d8-924469b57eb5>
Tue, 23 Nov 2004 04:34:01 +0000 (04:34 +0000)
git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@1060 c11ca15a-4712-0410-83d8-924469b57eb5

files/sample/blootbot.chan
src/CommandStubs.pl
src/IRC/Schedulers.pl
src/modules.pl

index 20c218151a705216b6fac050e27c69303a60f6a6..4476eddfccacf90fe7d1ab8358f52b4184886810 100644 (file)
@@ -1,4 +1,4 @@
-#v1: blootbot -- infobot -- written Tue Nov 23 04:23:45 2004
+#v1: blootbot -- infobot -- written Tue Nov 23 04:28:20 2004
 
 #botpark
     +autojoin
@@ -25,6 +25,7 @@ _default
     +HTTPDtype
     +Kernel
     +Math
+    +Plug
     +allowConv
     +allowDNS
     +allowTelling
@@ -47,7 +48,6 @@ _default
     +log
     +nickometer
     +page
-    +plug
     +quote
     randomFactoidInterval 60
     randomQuoteInterval 60
index e6098a7601eaac62c3a135d63d76ca83bfb0761f..e7041520eeb3cb0d861f5e1603e60f94ddfa9058 100644 (file)
@@ -217,8 +217,8 @@ sub parseCmdHook {
 &addCmdHook("extra", 'slashdot', ('CODEREF' => 'Slashdot::Slashdot',
        'Identifier' => 'slashdot', 'Forker' => 1,
        'Cmdstats' => 'Slashdot') );
-&addCmdHook("extra", 'plug', ('CODEREF' => 'Plug::Plug',
-       'Identifier' => 'plug', 'Forker' => 1,
+&addCmdHook("extra", 'Plug', ('CODEREF' => 'Plug::Plug',
+       'Identifier' => 'Plug', 'Forker' => 1,
        'Cmdstats' => 'Plug') );
 &addCmdHook("extra", 'uptime', ('CODEREF' => 'uptime', 'Identifier' => 'uptime',
        'Cmdstats' => 'Uptime') );
index 9c155c40d7b2a275f0558e436c5bbbffd0565c2d..5ec9b53c1d99117392da1bc30b8a0426a1694f2c 100644 (file)
@@ -856,14 +856,14 @@ sub uptimeLoop {
 sub slashdotLoop {
 
     if (@_) {
-       &ScheduleThis(60, "slashdotLoop");
+       &ScheduleThis(60, 'slashdotLoop');
        return if ($_[0] eq "2");
     }
 
-    my @chans = &ChanConfList("slashdotAnnounce");
+    my @chans = &ChanConfList('slashdotAnnounce');
     return unless (scalar @chans);
 
-    &Forker("slashdot", sub {
+    &Forker('slashdot', sub {
        my $line = &Slashdot::slashdotAnnounce();
        return unless (defined $line);
 
@@ -879,14 +879,14 @@ sub slashdotLoop {
 sub plugLoop {
 
     if (@_) {
-       &ScheduleThis(60, "plugLoop");
+       &ScheduleThis(60, 'plugLoop');
        return if ($_[0] eq "2");
     }
 
-    my @chans = &ChanConfList("plugAnnounce");
+    my @chans = &ChanConfList('plugAnnounce');
     return unless (scalar @chans);
 
-    &Forker("plug", sub {
+    &Forker('Plug', sub {
        my $line = &Plug::plugAnnounce();
        return unless (defined $line);
 
index 2204dd60d16e5728f714c0bc153a9f5709b644e9..23499495966d02fb337f0e9813888c2a78967770 100644 (file)
@@ -40,7 +40,7 @@ if ($@) {
        "nickometer"    => "nickometer.pl",
        "pager"         => "pager.pl",
        "Math"          => "Math.pl",
-       "plug"          => "Plug.pl",
+       "Plug"          => "Plug.pl",
        "quote"         => "Quote.pl",
        "rootwarn"      => "RootWarn.pl",
        "rss"           => "Rss.pl",