mirror of
https://github.com/matrix-construct/construct
synced 2024-12-27 07:54:05 +01:00
ircd: don't send ERR_NOTREGISTERED to servers
Sending messages after SERVER but before zlib is established breaks outgoing connections. If the other server is misbehaving then ignore its messages.
This commit is contained in:
parent
5ad62c80ee
commit
8cbd70a8ed
1 changed files with 3 additions and 0 deletions
|
@ -518,6 +518,9 @@ m_not_oper(struct MsgBuf *msgbuf_p, struct Client *client_p, struct Client *sour
|
|||
void
|
||||
m_unregistered(struct MsgBuf *msgbuf_p, struct Client *client_p, struct Client *source_p, int parc, const char *parv[])
|
||||
{
|
||||
if(IsAnyServer(client_p))
|
||||
return;
|
||||
|
||||
/* bit of a hack.
|
||||
* I don't =really= want to waste a bit in a flag
|
||||
* number_of_nick_changes is only really valid after the client
|
||||
|
|
Loading…
Reference in a new issue