Use plugin.map to register the host command. flameeyes/master
authorDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>
Mon, 30 Jun 2008 09:51:15 +0000 (11:51 +0200)
committerDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>
Mon, 30 Jun 2008 10:01:04 +0000 (12:01 +0200)
commitbd8befe08476d89287292e141e054ec18df50deb
tree1a2c4331a45c5964b2ce6aad50cc9ba7915944c7
parent0d715cdc29abec6031d3e69968247fb9f973c66d
Use plugin.map to register the host command.

Instead of just registering the plugin and then doing the parameter
check in the function, use the plugin.map function and declare the
requirement for the parameter passed.
data/rbot/plugins/host.rb