summaryrefslogtreecommitdiff
path: root/data/rbot
diff options
context:
space:
mode:
authorDmitry Kim <dmitry point kim at gmail point com>2007-03-30 18:38:34 +0000
committerDmitry Kim <dmitry point kim at gmail point com>2007-03-30 18:38:34 +0000
commitb73d6c7dc6554e1c6eb6abce68350ed2c13191b8 (patch)
tree15a48e2c22294262d16f61c5f60d15e37e75eb84 /data/rbot
parent4acb228dfdff2ffb2d76f87d216775b7874b5df6 (diff)
* an ugly quickfix for sending non-unicode strings :/
(some http-aware plugins kill the bot without it)
Diffstat (limited to 'data/rbot')
-rw-r--r--data/rbot/plugins/unicode.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/rbot/plugins/unicode.rb b/data/rbot/plugins/unicode.rb
index 9424a91e..e45e44a4 100644
--- a/data/rbot/plugins/unicode.rb
+++ b/data/rbot/plugins/unicode.rb
@@ -58,7 +58,7 @@ class UnicodePlugin < Plugin
end
def out(data)
- rv = @default_out.iconv(data)
+ rv = @default_out.iconv(data) rescue data # XXX: yeah, i know :/
debug "<< #{rv}"
rv
end