Do not send command as message when no option is passed to /me

This commit is contained in:
Stephan Erb 2007-10-01 19:00:56 +00:00
parent 0585a8475f
commit 5f3c377921
1 changed files with 5 additions and 1 deletions

View File

@ -1244,7 +1244,11 @@ class ChatControl(ChatControlBase):
message_array = []
if command == 'me':
return False # This is not really a command
if len(message_array):
return False # /me is not really a command
else:
self.get_command_help(command)
return True # do not send "/me" as message
if command == 'help':
if len(message_array):