Damn fnre

This commit is contained in:
hadware
2018-06-06 03:07:50 +02:00
parent 856244c16d
commit 36be3dcf75
+1
View File
@@ -54,6 +54,7 @@ class CocoConnectCommand(BaseCocobotCommand):
text = text[len(self._cmd_suffix):].strip()
try:
nick, age, zip_code = text.split()
nick = ''.join([c for c in nick if ord(c) < 128]) # removing non-utf8 chars
except ValueError:
return Message("Pas le bon nombre d'arguments, pd")