diff options
Diffstat (limited to 'lib/rbot/plugins/host.rb')
-rw-r--r-- | lib/rbot/plugins/host.rb | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/lib/rbot/plugins/host.rb b/lib/rbot/plugins/host.rb deleted file mode 100644 index ef8dc8bc..00000000 --- a/lib/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") |