1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-06-20 15:06:36 +02:00

use full name for log

This commit is contained in:
Jfreegman
2014-07-10 02:54:56 -04:00
parent aaeb47dc14
commit ee67cf0bf1

View File

@ -902,7 +902,7 @@ static void chat_onInit(ToxWindow *self, Tox *m)
line_info_init(ctx->hst); line_info_init(ctx->hst);
if (friends[self->num].logging_on) if (friends[self->num].logging_on)
log_enable(self->name, friends[self->num].pub_key, ctx->log); log_enable(nick, friends[self->num].pub_key, ctx->log);
execute(ctx->history, self, m, "/log", GLOBAL_COMMAND_MODE); execute(ctx->history, self, m, "/log", GLOBAL_COMMAND_MODE);