Do not clear when Xclear or whatever is not /clear in a chat_control, thanks b4d for report

This commit is contained in:
Jean-Marie Traissard 2006-11-02 20:30:14 +00:00
parent fdb0a9b099
commit 3acfe5f359
1 changed files with 1 additions and 1 deletions

View File

@ -477,7 +477,7 @@ class ChatControlBase(MessageControl):
event_keymod)
def _process_command(self, message):
if not message:
if not message or message[0] != '/':
return False
message = message[1:]