commit 33c2d5e4e255f314d5d7136d8edeb662128bd79a from: Federico G. Schwindt date: Thu Sep 05 16:31:57 2013 UTC Move the IRC_SetPenalty() call after the asserts commit - a98bbc8e0b937f4fedf7ad852eaf109c6a9c5b8f commit + 33c2d5e4e255f314d5d7136d8edeb662128bd79a blob - 6013fa0c1bff4a6640a096a7fbb729c16fcbb335 blob + ea0ed4e58e481e5503a99510341648276be9b940 --- src/ngircd/irc-info.c +++ src/ngircd/irc-info.c @@ -717,11 +717,11 @@ GLOBAL bool 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)