diff options
Diffstat (limited to 'rbot/plugins/nslookup.rb')
-rw-r--r-- | rbot/plugins/nslookup.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rbot/plugins/nslookup.rb b/rbot/plugins/nslookup.rb index a68f0ee8..92da1ba7 100644 --- a/rbot/plugins/nslookup.rb +++ b/rbot/plugins/nslookup.rb @@ -38,7 +38,7 @@ class DnsPlugin < Plugin rescue StandardError => err m.reply "#{m.params}: not found" end - elsif(m.params =~ /^(\w|\.)+$/) + elsif(m.params =~ /^\S+$/) begin a = getaddresses(m.params) m.reply m.params + ": " + a.join(", ") |