summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordmitry kim <jason@nichego.net>2008-03-28 02:49:35 +0300
committerdmitry kim <jason@nichego.net>2008-03-28 02:49:35 +0300
commit5f25e65756ff3428226559e301e9074a4b660e69 (patch)
tree69ac06adb696499a6c5b64cf995a01acee46c7ec
parent1e9373e223fe142fb412f268d33e993a09d4d818 (diff)
* plugins/unicode -> core/unicode; don't require "jcode"
-rw-r--r--lib/rbot/core/unicode.rb (renamed from data/rbot/plugins/unicode.rb)5
1 files changed, 1 insertions, 4 deletions
diff --git a/data/rbot/plugins/unicode.rb b/lib/rbot/core/unicode.rb
index 957f5bff..a24a1998 100644
--- a/data/rbot/plugins/unicode.rb
+++ b/lib/rbot/core/unicode.rb
@@ -12,12 +12,9 @@
# encoding. The plugin takes care of translation to/from utf-8 on server IO,
# if necessary (translation charsets are configurable).
-# TODO do we actually want this?
-require 'jcode'
-
require 'iconv'
-class UnicodePlugin < Plugin
+class UnicodePlugin < CoreBotModule
Config.register Config::BooleanValue.new(
'encoding.enable', :default => true,
:desc => "Support for non-ascii charsets",