Merge pull request #76 from falkartis/patch-2
Update interface.c to avoid error messages
This commit is contained in:
commit
bab9846493
1 changed files with 3 additions and 1 deletions
|
@ -576,7 +576,9 @@ void interpreter_chat_mode (char *line) {
|
|||
do_mark_read (chat_mode_id);
|
||||
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) {
|
||||
|
|
Loading…
Add table
Reference in a new issue