From 21949774b91eaec6ecde4eaa8ad121e2c0a36b87 Mon Sep 17 00:00:00 2001 From: Tom Gilbert Date: Wed, 27 Jul 2005 15:59:13 +0000 Subject: rearrange repo for packaging --- rbot/plugins/host.rb | 14 -------------- 1 file changed, 14 deletions(-) delete mode 100644 rbot/plugins/host.rb (limited to 'rbot/plugins/host.rb') 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 => query nameserver about domain names and zones for " - 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") -- cgit v1.2.3