From 609c06621ad4829afb88fcc31d7f74ce99b969bf Mon Sep 17 00:00:00 2001 From: Giuseppe Bilotta Date: Sun, 4 Feb 2007 23:12:52 +0000 Subject: Minor optimization in message.rb --- lib/rbot/message.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3