Filter: fix a bug introduced by b78319ba2a

This caused the first character in text to be cut off if it is not set to be replaced (e.g. a letter
when 'config plugins.format.spellit.replaceletters' is off).
This commit is contained in:
GLolol 2015-01-02 20:55:24 -05:00
parent 015d7f38d0
commit f2c66480bc

View File

@ -619,7 +619,7 @@ class Filter(callbacks.Plugin):
except KeyError:
pass
write(c)
irc.reply(out.getvalue()[1:])
irc.reply(out.getvalue().strip())
spellit = wrap(spellit, ['text'])
@internationalizeDocstring