diff --git a/plugins/String/plugin.py b/plugins/String/plugin.py index 3d59eda62..4701cffa4 100644 --- a/plugins/String/plugin.py +++ b/plugins/String/plugin.py @@ -101,6 +101,9 @@ class String(callbacks.Plugin): elif sys.version_info[0] >= 3 and isinstance(text, bytes): text = text.decode() + if encoding in ('base64', 'base64_codec'): + text = text.replace('\n', '') + # Reply irc.reply(text.rstrip('\n')) encode = wrap(encode, ['something', 'text'])