From 7d9d0fa8e3cd7377bc966576b2f75a0208c58c2f Mon Sep 17 00:00:00 2001 From: Tom Gilbert Date: Sat, 29 Jul 2006 18:12:50 +0000 Subject: just some tiny tweaks. giuseppe! you have been busy! :) --- data/rbot/plugins/chucknorris.rb | 4 ++++ data/rbot/plugins/insult.rb | 3 +++ data/rbot/plugins/quakeauth.rb | 2 +- 3 files changed, 8 insertions(+), 1 deletion(-) (limited to 'data/rbot/plugins') 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" -- cgit v1.2.3