From 04a382d44382a4c469291df64c9f7d2ee3218c1d Mon Sep 17 00:00:00 2001
From: timriker <timriker@c11ca15a-4712-0410-83d8-924469b57eb5>
Date: Tue, 23 Nov 2004 04:24:20 +0000
Subject: [PATCH] perlMath -> Math

git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk@1059 c11ca15a-4712-0410-83d8-924469b57eb5
---
 blootbot/files/sample/blootbot.chan   | 4 ++--
 blootbot/files/sample/blootbot.config | 2 +-
 blootbot/src/Factoids/Core.pl         | 4 ++--
 blootbot/src/modules.pl               | 2 +-
 4 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/blootbot/files/sample/blootbot.chan b/blootbot/files/sample/blootbot.chan
index 783fa9a..20c2181 100644
--- a/blootbot/files/sample/blootbot.chan
+++ b/blootbot/files/sample/blootbot.chan
@@ -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
diff --git a/blootbot/files/sample/blootbot.config b/blootbot/files/sample/blootbot.config
index a51391f..54a805e 100644
--- a/blootbot/files/sample/blootbot.config
+++ b/blootbot/files/sample/blootbot.config
@@ -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
diff --git a/blootbot/src/Factoids/Core.pl b/blootbot/src/Factoids/Core.pl
index 6c64730..f327361 100644
--- a/blootbot/src/Factoids/Core.pl
+++ b/blootbot/src/Factoids/Core.pl
@@ -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 "") {
diff --git a/blootbot/src/modules.pl b/blootbot/src/modules.pl
index 27eb521..2204dd6 100644
--- a/blootbot/src/modules.pl
+++ b/blootbot/src/modules.pl
@@ -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",
-- 
2.39.5