summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/message.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/message.rb b/plugins/message.rb
index 520bf1f..81260cf 100644
--- a/plugins/message.rb
+++ b/plugins/message.rb
@@ -21,6 +21,7 @@ class MessagePlugin
listen_to :udpmessage
def listen(m, message)
+ message.force_encoding('UTF-8') # All Gentoo is pure UTF-8
FILTERS.each do |filter|
return if message.match filter
end