Author: Kev <klmitch@mit.edu>
[ircu2.10.12-pk.git] / ircd / m_error.c
index 5249a5fceea353cfc664decc58b5fc4fce108545..b84b20f243d080cb201598de3faa3597dab8d688 100644 (file)
@@ -106,7 +106,7 @@ int mr_error(struct Client* cptr, struct Client* sptr, int parc, char* parv[])
 {
   const char *para;
 
-  if (IsUserPort(cptr))
+  if (!IsHandshake(cptr) && !IsConnecting(cptr))
     return 0; /* ignore ERROR from regular clients */
 
   para = (parc > 1 && *parv[parc - 1] != '\0') ? parv[parc - 1] : "<>";