summaryrefslogtreecommitdiff
path: root/data/rbot/plugins
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2006-08-16 23:22:00 +0000
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2006-08-16 23:22:00 +0000
commit80a7c488a3a79c60f933392d4758b7442b32f135 (patch)
tree781cf6e0fe6d635dad5f3ba691a04345ddc7fbbd /data/rbot/plugins
parent2c204614bd8d2f7c8304f07c09e17a53c9c73b5b (diff)
Revert [354]. The plugin name should not be changed between 0.9.10 and 0.9.11 to prevent data loss (the db is named after the plugin). Rather, we want to fix the help method
Diffstat (limited to 'data/rbot/plugins')
-rw-r--r--data/rbot/plugins/keywords.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/data/rbot/plugins/keywords.rb b/data/rbot/plugins/keywords.rb
index 514f615a..b20c824e 100644
--- a/data/rbot/plugins/keywords.rb
+++ b/data/rbot/plugins/keywords.rb
@@ -71,14 +71,14 @@ class Keyword
end
end
-# keyword plugin class.
+# keywords class.
#
# Handles all that stuff like "bot: foo is bar", "bot: foo?"
#
# Fallback after core and auth have had a look at a message and refused to
# handle it, checks for a keyword command or lookup, otherwise the message
# is delegated to plugins
-class KeywordPlugin < Plugin
+class Keywords < Plugin
BotConfig.register BotConfigBooleanValue.new('keyword.listen',
:default => false,
:desc => "Should the bot listen to all chat and attempt to automatically detect keywords? (e.g. by spotting someone say 'foo is bar')")
@@ -449,5 +449,5 @@ class KeywordPlugin < Plugin
end
end
-plugin = KeywordPlugin.new
+plugin = Keywords.new
plugin.register 'keyword'