mirror of
https://github.com/irssi/irssi.git
synced 2026-08-18 16:12:30 +02:00
sending of tag messages and customisable maximum irc message length
This commit is contained in:
parent
d418989f0c
commit
da9adec47f
6 changed files with 69 additions and 18 deletions
|
|
@ -142,7 +142,7 @@ static void irc_channels_join(IRC_SERVER_REC *server, const char *data,
|
|||
/* don't try to send too long lines
|
||||
make sure it's not longer than 510
|
||||
so 510 - strlen("JOIN ") = 505 */
|
||||
if (cmdlen < MAX_IRC_MESSAGE_LEN - 5 /* strlen("JOIN ") */)
|
||||
if (cmdlen < server->max_message_len - 5 /* strlen("JOIN ") */)
|
||||
continue;
|
||||
}
|
||||
if (outchans->len > 0) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue