sending of tag messages and customisable maximum irc message length

This commit is contained in:
ailin-nemui 2019-08-12 23:41:18 +02:00
commit da9adec47f
6 changed files with 69 additions and 18 deletions

View file

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