Merge pull request #76 from falkartis/patch-2

Update interface.c to avoid error messages
This commit is contained in:
vysheng 2014-02-13 13:09:21 +03:00
commit 2b4fefe911

View File

@ -576,7 +576,9 @@ void interpreter_chat_mode (char *line) {
do_mark_read (chat_mode_id); do_mark_read (chat_mode_id);
return; return;
} }
do_send_message (chat_mode_id, line, strlen (line)); if (strlen (line)>0) {
do_send_message (chat_mode_id, line, strlen (line));
}
} }
void interpreter (char *line UU) { void interpreter (char *line UU) {