From 5f3c37792121591d21c636414b8962b85d14b0a9 Mon Sep 17 00:00:00 2001 From: Stephan Erb Date: Mon, 1 Oct 2007 19:00:56 +0000 Subject: [PATCH] Do not send command as message when no option is passed to /me --- src/chat_control.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/chat_control.py b/src/chat_control.py index 873ec7caf..6d034d96b 100644 --- a/src/chat_control.py +++ b/src/chat_control.py @@ -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):