diff options
-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", |