diff options
Diffstat (limited to 'lib/rbot')
-rw-r--r-- | lib/rbot/rfc2812.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/rbot/rfc2812.rb b/lib/rbot/rfc2812.rb index 819ea291..f4487bdb 100644 --- a/lib/rbot/rfc2812.rb +++ b/lib/rbot/rfc2812.rb @@ -1462,8 +1462,8 @@ module Irc else debug @server.supports[:chanmodes] setting = :set - arg.each_char do |c| - m = c.intern + arg.each_byte do |c| + m = c.chr.intern case m when :+ setting = :set |