diff options
author | Tom Gilbert <tom@linuxbrit.co.uk> | 2006-07-29 18:12:50 +0000 |
---|---|---|
committer | Tom Gilbert <tom@linuxbrit.co.uk> | 2006-07-29 18:12:50 +0000 |
commit | 7d9d0fa8e3cd7377bc966576b2f75a0208c58c2f (patch) | |
tree | a5e805c5f73bebc5cc46d0a8a8aebc4e3ef8a2b2 /data/rbot | |
parent | 571bb66a39be594f7d5af00336e3123ba00ea25c (diff) |
just some tiny tweaks. giuseppe! you have been busy! :)
Diffstat (limited to 'data/rbot')
-rw-r--r-- | data/rbot/plugins/chucknorris.rb | 4 | ||||
-rw-r--r-- | data/rbot/plugins/insult.rb | 3 | ||||
-rw-r--r-- | data/rbot/plugins/quakeauth.rb | 2 |
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" |