Filter: more efficient _squish code

This commit is contained in:
James Lu 2015-09-10 06:57:40 -07:00
parent ed493e6504
commit f5146e8af4
1 changed files with 1 additions and 1 deletions

View File

@ -119,7 +119,7 @@ class Filter(callbacks.Plugin):
hebrew = wrap(hebrew, ['text'])
def _squish(self, text):
return ''.join(text.split())
return text.replace(' ', '')
@internationalizeDocstring
def squish(self, irc, msg, args, text):