There's logic in m_squit that closes the connection if SQUIT is called with no parameters:
/* This is actually protocol error. But, well, closing the link is very proper answer to that... */
This makes sense from a server<>server context, but if an oper accidentally types /squit with no parameters, it disconnects them. We should probably reply with ERR_NEEDMOREPARAMS if it's an oper doing the SQUIT.
There's logic in
m_squit
that closes the connection ifSQUIT
is called with no parameters:/* This is actually protocol error. But, well, closing the link is very proper answer to that... */
This makes sense from a server<>server context, but if an oper accidentally types /squit with no parameters, it disconnects them. We should probably reply with ERR_NEEDMOREPARAMS if it's an oper doing the SQUIT.