From 5a9ba6d2a961db5682728f42d5bce14941d74e1c Mon Sep 17 00:00:00 2001 From: Giuseppe Bilotta Date: Thu, 29 Jan 2009 21:56:33 +0100 Subject: IRC Framework: fix wrong rfc casemaps The RFC1459 casemaps had the non-letter casemapping the wrong way around. Fix by swapping them. --- lib/rbot/irc.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib') diff --git a/lib/rbot/irc.rb b/lib/rbot/irc.rb index 19ea3370..81ea43c6 100644 --- a/lib/rbot/irc.rb +++ b/lib/rbot/irc.rb @@ -129,7 +129,7 @@ module Irc include Singleton def initialize - super('rfc1459', "\x41-\x5e", "\x61-\x7e") + super('rfc1459', "\x41-\x5a\x7b-\x7e", "\x61-\x7a\x5b-\x5e") end end @@ -141,7 +141,7 @@ module Irc include Singleton def initialize - super('strict-rfc1459', "\x41-\x5d", "\x61-\x7d") + super('strict-rfc1459', "\x41-\x5a\x7b-\x7d", "\x61-\x7a\x5b-\x5d") end end -- cgit v1.2.3