diff options
author | Tom Gilbert <tom@linuxbrit.co.uk> | 2005-07-27 15:59:13 +0000 |
---|---|---|
committer | Tom Gilbert <tom@linuxbrit.co.uk> | 2005-07-27 15:59:13 +0000 |
commit | 21949774b91eaec6ecde4eaa8ad121e2c0a36b87 (patch) | |
tree | 41a7601e168018ac203bad7ca8d7f9f82515bc28 /rbot/plugins/host.rb | |
parent | 51cf09ec02d089bfdd80e5f728cfc92a234dc437 (diff) |
rearrange repo for packaging
Diffstat (limited to 'rbot/plugins/host.rb')
-rw-r--r-- | rbot/plugins/host.rb | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/rbot/plugins/host.rb b/rbot/plugins/host.rb deleted file mode 100644 index ef8dc8bc..00000000 --- a/rbot/plugins/host.rb +++ /dev/null @@ -1,14 +0,0 @@ -class HostPlugin < Plugin - def help(plugin, topic="") - "host <domain> => query nameserver about domain names and zones for <domain>" - end - def privmsg(m) - unless(m.params =~ /^(\w|-|\.)+$/) - m.reply "incorrect usage: " + help(m.plugin) - return - end - m.reply Utils.safe_exec("host", m.params) - end -end -plugin = HostPlugin.new -plugin.register("host") |