diff options
-rw-r--r-- | lib/rbot/message.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rbot/message.rb b/lib/rbot/message.rb index f96515ff..3292cb83 100644 --- a/lib/rbot/message.rb +++ b/lib/rbot/message.rb @@ -66,7 +66,7 @@ module Irc @identified = false if @msg_wants_id && @server.capabilities[:"identify-msg"] - if @message =~ /([-+])(.*)/ + if @message =~ /^([-+])(.*)/ @identified = ($1=="+") @message = $2 else |