diff options
author | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2007-02-04 23:12:52 +0000 |
---|---|---|
committer | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2007-02-04 23:12:52 +0000 |
commit | 609c06621ad4829afb88fcc31d7f74ce99b969bf (patch) | |
tree | 51b8e9200275d305b4d8d03eb5e297fafed23c97 | |
parent | 107d621a9f8b959e9f8047256d12a22360bcc6e0 (diff) |
Minor optimization in message.rb
-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 521d62dc..df5ac8d3 100644 --- a/lib/rbot/message.rb +++ b/lib/rbot/message.rb @@ -64,7 +64,7 @@ module Irc @server = server @identified = false - if @msg_wants_id && @server.capabilities["identify-msg".to_sym] + if @msg_wants_id && @server.capabilities[:"identify-msg"] if @message =~ /([-+])(.*)/ @identified = ($1=="+") @message = $2 |