mirror of
https://github.com/osmarks/ngircd.git
synced 2024-12-13 02:10:27 +00:00
Move the IRC_SetPenalty() call after the asserts
This commit is contained in:
parent
a98bbc8e0b
commit
33c2d5e4e2
@ -718,11 +718,11 @@ IRC_SERVLIST(CLIENT *Client, REQUEST *Req)
|
||||
{
|
||||
CLIENT *c;
|
||||
|
||||
IRC_SetPenalty(Client, 1);
|
||||
|
||||
assert(Client != NULL);
|
||||
assert(Req != NULL);
|
||||
|
||||
IRC_SetPenalty(Client, 1);
|
||||
|
||||
_IRC_ARGC_LE_OR_RETURN_(Client, Req, 2)
|
||||
|
||||
if (Req->argc < 2 || strcmp(Req->argv[1], "0") == 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user