Commit Diff


commit - a98bbc8e0b937f4fedf7ad852eaf109c6a9c5b8f
commit + 33c2d5e4e255f314d5d7136d8edeb662128bd79a
blob - 6013fa0c1bff4a6640a096a7fbb729c16fcbb335
blob + ea0ed4e58e481e5503a99510341648276be9b940
--- src/ngircd/irc-info.c
+++ src/ngircd/irc-info.c
@@ -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) {