From abaf18c721d60774f9a37b1680ffc01e17bbbecc Mon Sep 17 00:00:00 2001 From: timriker Date: Thu, 18 Nov 2004 08:23:00 +0000 Subject: [PATCH] cleanup dict git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@1046 c11ca15a-4712-0410-83d8-924469b57eb5 --- files/sample/blootbot.chan | 2 +- files/sample/blootbot.config | 3 --- src/CommandStubs.pl | 4 ++-- src/modules.pl | 2 +- 4 files changed, 4 insertions(+), 7 deletions(-) diff --git a/files/sample/blootbot.chan b/files/sample/blootbot.chan index aa56f4d..0f45c3d 100644 --- a/files/sample/blootbot.chan +++ b/files/sample/blootbot.chan @@ -31,7 +31,7 @@ _default +debian +debianExtra debianRefreshInterval 7 - +dict + +Dict +factoidArguments floodMessages 10:30 floodRepeat 2:10 diff --git a/files/sample/blootbot.config b/files/sample/blootbot.config index 6e34e7c..b042091 100644 --- a/files/sample/blootbot.config +++ b/files/sample/blootbot.config @@ -202,9 +202,6 @@ set debian false # [0/1] extra stuff... set debianExtra true -# [0/1] Frontend to dict.org's wordnet. -set dict false - # [0/1] Freshmeat set freshmeat false # [int] how often to update the freshmeat table, in hours. diff --git a/src/CommandStubs.pl b/src/CommandStubs.pl index 512739a..ec45ff7 100644 --- a/src/CommandStubs.pl +++ b/src/CommandStubs.pl @@ -212,8 +212,8 @@ sub parseCmdHook { 'Identifier' => 'rootWarn', 'Module' => 'rootwarn') ); &addCmdHook("extra", 'seen', ('CODEREF' => 'seen', 'Identifier' => 'seen') ); -&addCmdHook("extra", 'dict', ('CODEREF' => 'Dict::Dict', - 'Identifier' => 'dict', 'Help' => 'dict', +&addCmdHook("extra", 'Dict', ('CODEREF' => 'Dict::Dict', + 'Identifier' => 'Dict', 'Help' => 'dict', 'Forker' => 1, 'Cmdstats' => 'Dict') ); &addCmdHook("extra", 'slashdot', ('CODEREF' => 'Slashdot::Slashdot', 'Identifier' => 'slashdot', 'Forker' => 1, diff --git a/src/modules.pl b/src/modules.pl index c29ec0d..6370369 100644 --- a/src/modules.pl +++ b/src/modules.pl @@ -28,7 +28,7 @@ if ($@) { "countdown" => "countdown.pl", "debian" => "Debian.pl", "debianExtra" => "DebianExtra.pl", - "dict" => "Dict.pl", + "Dict" => "Dict.pl", "dumpvars" => "DumpVars.pl", "exchange" => "Exchange.pl", "factoids" => "Factoids.pl", -- 2.39.2