ServerStats.is_unco++;
return;
}
-
- mptr->bytes += msgbuf.parselen;
}
if(mptr == NULL)
return;
if (rb_dictionary_find(cmd_dict, msg->cmd) != NULL) {
+ ilog(L_MAIN, "Add command: %s already exists", msg->cmd);
s_assert(0);
return;
}
if(msg == NULL)
return;
- if (rb_dictionary_delete(cmd_dict, msg->cmd) == NULL)
+ if (rb_dictionary_delete(cmd_dict, msg->cmd) == NULL) {
+ ilog(L_MAIN, "Delete command: %s not found", msg->cmd);
s_assert(0);
+ }
}
/* cancel_clients()
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