diff options
Diffstat (limited to 'data/rbot/plugins')
-rw-r--r-- | data/rbot/plugins/linkbot.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/data/rbot/plugins/linkbot.rb b/data/rbot/plugins/linkbot.rb index 624d241d..082cbd80 100644 --- a/data/rbot/plugins/linkbot.rb +++ b/data/rbot/plugins/linkbot.rb @@ -34,7 +34,7 @@ class LinkBot < Plugin return unless m.kind_of?(PrivMessage) # Now we know that _m_ is a PRIVMSG from a linkbot. Let's split it # in nick, network, message - if m.message.match(/^\((\w+?)@(\w+?)\)\s+(.*)$/) + if m.message.match(/^\((\S+?)@(\S+?)\)\s+(.*)$/) new_nick = $1 network = $2 message = $3 |