increase disconnect buffer and get rid of some magic 510 values

This commit is contained in:
ailin-nemui 2019-08-11 20:41:57 +02:00
commit 27546354ca
5 changed files with 15 additions and 12 deletions

View file

@ -131,7 +131,7 @@ static void notifylist_timeout_server(IRC_SERVER_REC *server)
len = strlen(nick);
if (cmd->len+len+1 > 510)
if (cmd->len+len+1 > MAX_IRC_MESSAGE_LEN)
ison_send(server, cmd);
g_string_append_printf(cmd, "%s ", nick);