commit - a335e480c59f382d51a4f3d6d2c348c35d60c82f
commit + 2924b3d52ac2ab89e3bc517a1f664ec056a45edd
blob - 1788bf60feebf6e1733b0e92c4070d1f0848250f
blob + 82bd55182d774a54343c4634ae5271032a3aba8c
--- src/ngircd/irc-info.c
+++ src/ngircd/irc-info.c
list = Class_GetList(CLASS_GLINE);
else
list = Class_GetList(CLASS_KLINE);
- list_item = Lists_GetFirst(list);
- while (list_item) {
- if (!IRC_WriteStrClient(from, RPL_STATSXLINE_MSG,
+ list_item = Lists_GetFirst(list);
+ while (list_item) {
+ if (!IRC_WriteStrClient(from, RPL_STATSXLINE_MSG,
Client_ID(from), query,
Lists_GetMask(list_item),
Lists_GetValidity(list_item),
Lists_GetReason(list_item)))
- return DISCONNECTED;
- list_item = Lists_GetNext(list_item);
- }
+ return DISCONNECTED;
+ list_item = Lists_GetNext(list_item);
+ }
break;
case 'L': /* Link status (servers and user links) */
if (!Op_Check(from, Req))
blob - 8d09f9bcf8eb271672d32de78199fd18e41e26a3
blob + 92e8cfe39047992bdaff2d700ec192bb24a58483
--- src/ngircd/irc-write.c
+++ src/ngircd/irc-write.c
if (Client_HasMode(to, 'w'))
IRC_WriteStrClientPrefix(to, From,
"WALLOPS :%s", msg);
- break;
+ break;
case CLIENT_SERVER:
if (to != Client)
IRC_WriteStrClientPrefix(to, From,
"WALLOPS :%s", msg);
- break;
+ break;
}
}
} /* IRC_SendWallops */