summaryrefslogtreecommitdiff
path: root/lib/rbot/irc.rb
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2009-01-29 21:56:33 +0100
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2009-01-29 21:56:33 +0100
commit5a9ba6d2a961db5682728f42d5bce14941d74e1c (patch)
tree40607196e396e397aba31dece6530ecf0189d288 /lib/rbot/irc.rb
parentf3df4e37fc0a04814154342239ad704df5747dbc (diff)
IRC Framework: fix wrong rfc casemaps
The RFC1459 casemaps had the non-letter casemapping the wrong way around. Fix by swapping them.
Diffstat (limited to 'lib/rbot/irc.rb')
-rw-r--r--lib/rbot/irc.rb4
1 files changed, 2 insertions, 2 deletions
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