diff options
Diffstat (limited to 'rbot/plugins/host.rb')
-rw-r--r-- | rbot/plugins/host.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rbot/plugins/host.rb b/rbot/plugins/host.rb index cb88eee7..ef8dc8bc 100644 --- a/rbot/plugins/host.rb +++ b/rbot/plugins/host.rb @@ -3,7 +3,7 @@ class HostPlugin < Plugin "host <domain> => query nameserver about domain names and zones for <domain>" end def privmsg(m) - unless(m.params =~ /^(\w|\.)+$/) + unless(m.params =~ /^(\w|-|\.)+$/) m.reply "incorrect usage: " + help(m.plugin) return end |