Skip to content

Commit

Permalink
Ignore the space after :' in buddy: message'.
Browse files Browse the repository at this point in the history
  • Loading branch information
nikola-benes committed Oct 23, 2014
1 parent 5d05935 commit 3653616
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/interpreter.c
Expand Up @@ -95,6 +95,8 @@ interpreter (char *line)
}
} else { // head[0] != '/'
if (is_buddy (head, &jid)) {
if ( tail && tail[0] == ' ' )
++tail;
do_send_message (jid, tail);
ret = 0;
} else if (state.current_buddy) {
Expand Down

0 comments on commit 3653616

Please sign in to comment.