summaryrefslogtreecommitdiff
path: root/lib/rbot
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2007-02-04 23:12:52 +0000
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2007-02-04 23:12:52 +0000
commit609c06621ad4829afb88fcc31d7f74ce99b969bf (patch)
tree51b8e9200275d305b4d8d03eb5e297fafed23c97 /lib/rbot
parent107d621a9f8b959e9f8047256d12a22360bcc6e0 (diff)
Minor optimization in message.rb
Diffstat (limited to 'lib/rbot')
-rw-r--r--lib/rbot/message.rb2
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