mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-05-13 18:07:25 +02: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'])
|
hebrew = wrap(hebrew, ['text'])
|
||||||
|
|
||||||
def _squish(self, text):
|
def _squish(self, text):
|
||||||
return ''.join(text.split())
|
return text.replace(' ', '')
|
||||||
|
|
||||||
@internationalizeDocstring
|
@internationalizeDocstring
|
||||||
def squish(self, irc, msg, args, text):
|
def squish(self, irc, msg, args, text):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user