]> arthur.barton.de Git - ngircd-alex.git/blobdiff - src/ngircd/irc.c
Move IRC_SetPenalty() to Handle_Request() when possible
[ngircd-alex.git] / src / ngircd / irc.c
index 35f1a59a8a06b4a6fe516948be098ea312374646..d6a751a0d427edb091603ad62f54f3083de57ca7 100644 (file)
@@ -224,8 +224,6 @@ IRC_TRACE(CLIENT *Client, REQUEST *Req)
        assert(Client != NULL);
        assert(Req != NULL);
 
-       IRC_SetPenalty(Client, 3);
-
        _IRC_GET_SENDER_OR_RETURN_(from, Req, Client)
        _IRC_GET_TARGET_SERVER_OR_RETURN_(target, Req, 0, from)
 
@@ -301,8 +299,6 @@ IRC_HELP(CLIENT *Client, REQUEST *Req)
        assert(Client != NULL);
        assert(Req != NULL);
 
-       IRC_SetPenalty(Client, 2);
-
        if ((Req->argc == 0 && array_bytes(&Conf_Helptext) > 0)
            || (Req->argc >= 1 && strcasecmp(Req->argv[0], "Commands") != 0)) {
                /* Help text available and requested */