diff --git a/modules/Dispatch.py b/modules/Dispatch.py index 7cc9711..d087c71 100644 --- a/modules/Dispatch.py +++ b/modules/Dispatch.py @@ -85,7 +85,7 @@ class Dispatch(Module): key, dest = self._get_key_and_destination(key) if key is not None and dest is not None: - msg = "[{0:s}] {1:s}".format(key, message) + msg = "[{0:s}] {1:s}".format(key, message.encode('utf-8', 'ignore')) self.new_sendmsg(dest, msg) return dest, msg