Age | Commit message (Collapse) | Author |
|
It also happens to fix #2517 because this used to create buggy channels
named "auth" and stuf like that.
|
|
|
|
is created
We want to call socket() with the parameters provided by getaddrinfo, so we
can’t addd the fd into the poller immediately. We need to wait the
connection attempt, and then the SocketHandler can call add_socket_handler
itself, if the connection succeeds, or is in progress.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The number of arguments is not always the same
|
|
|
|
|
|
Also remove the duplicate send_self_join methods, user only send_user_join
|
|
CHANMODES and PREFIX only
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The limit for the whole message is 512 bytes, we limit the body to 400
(instead of doing a calculation based on the command name and the other
parameters), because it's simple, easy and that’s enough.
fixes #2416
|
|
|
|
|
|
|
|
|
|
|
|
But some servers (epiknet for example) send channel names with an uppercase
|
|
It was recently removed because it was handled in the old "convert irc
colors" code. It now is in the right place.
|
|
We append each line to a string, and when the MOTD is
complete, we send that string at once.
|
|
|
|
|