]> jfr.im git - solanum.git/blobdiff - ircd/parse.c
recheck users after applying SASL account cloaks
[solanum.git] / ircd / parse.c
index d6f83b430a60ceae802053b55b4f6a33614875ac..250424bfbfa21f835b46104eecf21368264469b2 100644 (file)
@@ -144,8 +144,6 @@ parse(struct Client *client_p, char *pbuffer, char *bufend)
                        ServerStats.is_unco++;
                        return;
                }
-
-               mptr->bytes += msgbuf.parselen;
        }
 
        if(mptr == NULL)
@@ -296,6 +294,7 @@ mod_add_cmd(struct Message *msg)
                return;
 
        if (rb_dictionary_find(cmd_dict, msg->cmd) != NULL) {
+               ilog(L_MAIN, "Add command: %s already exists", msg->cmd);
                s_assert(0);
                return;
        }
@@ -320,8 +319,10 @@ mod_del_cmd(struct Message *msg)
        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()