1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-12-07 13:36:35 +01:00
This commit is contained in:
Jfreegman
2014-03-29 05:44:20 -04:00
parent d873181306
commit 1b89af9063
3 changed files with 6 additions and 6 deletions

View File

@@ -304,7 +304,7 @@ static void groupchat_onGroupNamelistChange(ToxWindow *self, Tox *m, int groupnu
event = " is now known as ";
line_info_add(self, timefrmt, oldpeername, peername, event, NAME_CHANGE, 0, 0);
uint8_t tmp_event[TOXIC_MAX_NAME_LENGTH + 32];
uint8_t tmp_event[TOXIC_MAX_NAME_LENGTH * 2 + 32];
snprintf(tmp_event, sizeof(tmp_event), "is now known as %s", peername);
write_to_log(tmp_event, oldpeername, ctx->log, true);
break;