From ee67cf0bf10339e4cf91bb6fc650e12d89691598 Mon Sep 17 00:00:00 2001 From: Jfreegman Date: Thu, 10 Jul 2014 02:54:56 -0400 Subject: [PATCH] use full name for log --- src/chat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/chat.c b/src/chat.c index 59a70c7..27ebb29 100644 --- a/src/chat.c +++ b/src/chat.c @@ -902,7 +902,7 @@ static void chat_onInit(ToxWindow *self, Tox *m) line_info_init(ctx->hst); 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);