summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Gilbert <tom@linuxbrit.co.uk>2005-09-09 19:53:42 +0000
committerTom Gilbert <tom@linuxbrit.co.uk>2005-09-09 19:53:42 +0000
commitbaae528e33e1036504b79e23127375d161887aff (patch)
tree13471fd3b27c758cba8ebaef07c55c58997d4642
parent5bcd180faba85117edba00c881d7a6e35be5356f (diff)
fix usage :/
-rw-r--r--data/rbot/plugins/nickserv.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/data/rbot/plugins/nickserv.rb b/data/rbot/plugins/nickserv.rb
index 976bb8f8..7400a115 100644
--- a/data/rbot/plugins/nickserv.rb
+++ b/data/rbot/plugins/nickserv.rb
@@ -82,8 +82,8 @@ class NickServPlugin < Plugin
end
plugin = NickServPlugin.new
-plugin.map 'nickserv password :nick :passwd'
+plugin.map 'nickserv password :nick :passwd', :action => "password"
plugin.map 'nickserv register :passwd :email', :action => 'nick_register',
:defaults => {:passwd => false, :email => false}
-plugin.map 'nickserv listnicks'
-plugin.map 'nickserv identify'
+plugin.map 'nickserv listnicks', :action => "listnicks"
+plugin.map 'nickserv identify', :action => "identify"