diff options
author | Dmitry Kim <dmitry point kim at gmail point com> | 2007-03-15 18:24:31 +0000 |
---|---|---|
committer | Dmitry Kim <dmitry point kim at gmail point com> | 2007-03-15 18:24:31 +0000 |
commit | 4b3c16ed1b5c3f3d5a9e372c7ae22c8eb26c41b7 (patch) | |
tree | f2d128a51ea83f276d46eba8d7d2faccb15978ed /lib | |
parent | 1b00588ccc35ec749bb01c8ded6fdd732c5d3bf6 (diff) |
* fixed a regexp for "identify-msg" server capability ("^" was missing)
Diffstat (limited to 'lib')
-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 |