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

files/sample/blootbot.chan
files/sample/blootbot.config
src/Factoids/Core.pl
src/modules.pl

index 783fa9ac03528280f172caf6d74db09f3a0cc1ba..20c218151a705216b6fac050e27c69303a60f6a6 100644 (file)
@@ -1,4 +1,4 @@
-#v1: blootbot -- infobot -- written Tue Nov 23 04:13:22 2004
+#v1: blootbot -- infobot -- written Tue Nov 23 04:23:45 2004
 
 #botpark
     +autojoin
@@ -24,6 +24,7 @@ _default
     +Factoids
     +HTTPDtype
     +Kernel
+    +Math
     +allowConv
     +allowDNS
     +allowTelling
@@ -46,7 +47,6 @@ _default
     +log
     +nickometer
     +page
-    +perlMath
     +plug
     +quote
     randomFactoidInterval 60
index a51391fd41b752b2c3f4a50477d9b2f6d71806e9..54a805ed4b9d07bfa41f0dcf2d0bb989ddc2bfb1 100644 (file)
@@ -165,7 +165,7 @@ set ignoreTempExpire        60
 #####
 
 # [0/1] irc-cli calculator.
-set perlMath           1
+set Math               1
 
 # [0/1] ord/chr etc
 set allowConv          1
index 6c647309e06e49f8cc5e3d80a2b0a6ed2d1c124c..f32736126c6d889015ebdfba603147bfe8d697e6 100644 (file)
@@ -496,8 +496,8 @@ sub FactoidStuff {
     if (defined $result and $result !~ /^0?$/) {       # question.
        &status("question: <$who> $message");
        $count{'Question'}++;
-    } elsif (&IsChanConf("perlMath") > 0 and $addressed) { # perl math.
-       &loadMyModule("perlMath");
+    } elsif (&IsChanConf("Math") > 0 and $addressed) { # perl math.
+       &loadMyModule("Math");
        my $newresult = &perlMath();
 
        if (defined $newresult and $newresult ne "") {
index 27eb521ec2879070f097722eda9ef87af1a49735..2204dd60d16e5728f714c0bc153a9f5709b644e9 100644 (file)
@@ -39,7 +39,7 @@ if ($@) {
        "News"          => "News.pl",
        "nickometer"    => "nickometer.pl",
        "pager"         => "pager.pl",
-       "perlMath"      => "Math.pl",
+       "Math"          => "Math.pl",
        "plug"          => "Plug.pl",
        "quote"         => "Quote.pl",
        "rootwarn"      => "RootWarn.pl",