1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-07-04 20:16:44 +02:00
This commit is contained in:
Jfreegman
2013-11-12 02:41:55 -05:00
parent 7542247c48
commit 5570b7c98a
9 changed files with 61 additions and 64 deletions

View File

@ -170,7 +170,7 @@ static void groupchat_onKey(ToxWindow *self, Tox *m, wint_t key)
} else if (strncmp(line, "/help", strlen("/help")) == 0)
print_groupchat_help(ctx);
else
execute(ctx->history, self->prompt, m, line, GROUPCHAT_COMMAND_MODE);
execute(ctx->history, self->prompt, m, self->num, line, GROUPCHAT_COMMAND_MODE);
} else {
/* make sure the string has at least non-space character */
if (!string_is_empty(line)) {