summaryrefslogtreecommitdiff
path: root/data/rbot/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'data/rbot/plugins')
-rw-r--r--data/rbot/plugins/chucknorris.rb4
-rw-r--r--data/rbot/plugins/insult.rb3
-rw-r--r--data/rbot/plugins/quakeauth.rb2
3 files changed, 8 insertions, 1 deletions
diff --git a/data/rbot/plugins/chucknorris.rb b/data/rbot/plugins/chucknorris.rb
index b4cec84e..78327ccf 100644
--- a/data/rbot/plugins/chucknorris.rb
+++ b/data/rbot/plugins/chucknorris.rb
@@ -25,6 +25,10 @@ class ChuckNorrisPlugin < Plugin
super
end
+
+ def name
+ "chucknorris"
+ end
# Just a little helper for the initialize method...
def find_facts_file(name)
diff --git a/data/rbot/plugins/insult.rb b/data/rbot/plugins/insult.rb
index f610efc0..f7217756 100644
--- a/data/rbot/plugins/insult.rb
+++ b/data/rbot/plugins/insult.rb
@@ -216,6 +216,9 @@ class InsultPlugin < Plugin
return "insult module topics: msginsult, insult"
end
end
+ def name
+ "insult"
+ end
def privmsg(m)
suffix=""
unless(m.params)
diff --git a/data/rbot/plugins/quakeauth.rb b/data/rbot/plugins/quakeauth.rb
index dd1c884d..e9aeab2b 100644
--- a/data/rbot/plugins/quakeauth.rb
+++ b/data/rbot/plugins/quakeauth.rb
@@ -48,4 +48,4 @@ class QPlugin < Plugin
end
plugin = QPlugin.new
plugin.map 'qauth set :nick :passwd', :action => "set"
-plugin.map 'quath identify', :action => "identify"
+plugin.map 'qauth identify', :action => "identify"