1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-06 09:53:12 +02:00

makefile.win32

This commit is contained in:
codemastr
2005-01-22 18:34:09 +00:00
parent 3a052e213b
commit 64d8a67f4a
3 changed files with 12 additions and 4 deletions
+10 -3
View File
@@ -559,9 +559,15 @@ int stats_exceptban(aClient *sptr, char *para)
{
ConfigItem_except *excepts;
for (excepts = conf_except; excepts; excepts = (ConfigItem_except *) excepts->next)
if (excepts->flag.type == 1)
{
if (excepts->flag.type == CONF_EXCEPT_BAN)
sendto_one(sptr, rpl_str(RPL_STATSKLINE), me.name,
sptr->name, "E", excepts->mask, "");
else if (excepts->flag.type == CONF_EXCEPT_TKL)
sendto_one(sptr, rpl_str(RPL_STATSEXCEPTTKL), me.name,
sptr->name, tkl_typetochar(excepts->type), excepts->mask);
}
return 0;
}
@@ -1132,8 +1138,9 @@ int stats_kline(aClient *sptr, char *para)
}
tkl_stats(sptr, TKL_KILL, NULL);
tkl_stats(sptr, TKL_ZAP, NULL);
for (excepts = conf_except; excepts; excepts = (ConfigItem_except *)excepts->next) {
if (excepts->flag.type == 1)
for (excepts = conf_except; excepts; excepts = (ConfigItem_except *)excepts->next)
{
if (excepts->flag.type == CONF_EXCEPT_BAN)
sendto_one(sptr, rpl_str(RPL_STATSKLINE),
me.name, sptr->name, "E", excepts->mask, "");
}