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.
|
|
Since “!” is also the separator between the nickname and the user hostname,
having “!” as the user mode (e.g. !nick!~some@host.bla) would cause the nick
to be empty. Now we skip it if it is a valid user mode indicator.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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
|