mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-23 18:44:04 +01:00
Filter: more efficient _squish code
This commit is contained in:
parent
ed493e6504
commit
f5146e8af4
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user