summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Kim <dmitry point kim at gmail point com>2007-04-26 21:10:28 +0000
committerDmitry Kim <dmitry point kim at gmail point com>2007-04-26 21:10:28 +0000
commitb40ac172a32b71f1edc4e8b5992a4844e8eb6678 (patch)
tree903c4be9bfed6905dfcf2c10e74f75bd921353ae
parent5e3f8651d4559ac292ec8587c565ea5a3c31fc91 (diff)
* (plugins/unicode) '//ignore' strikes back; partially reverting [929]
-rw-r--r--data/rbot/plugins/unicode.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/data/rbot/plugins/unicode.rb b/data/rbot/plugins/unicode.rb
index a46b6779..5cb587b6 100644
--- a/data/rbot/plugins/unicode.rb
+++ b/data/rbot/plugins/unicode.rb
@@ -31,9 +31,9 @@ class UnicodePlugin < Plugin
class UnicodeFilter
def initialize(oenc, *iencs)
o = oenc.dup
- # o += '//ignore' if !o.include?('/')
+ o += '//ignore' if !o.include?('/')
i = iencs[0].dup
- # i += '//ignore' if !i.include?('/')
+ i += '//ignore' if !i.include?('/')
@iencs = iencs.dup
@iconvs = @iencs.map { |_| Iconv.new('utf-8', _) }
debug "*** o = #{o}, i = #{i}, iencs = #{iencs.inspect}"