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
include
src

View file

@ -272,6 +272,7 @@
#define RPL_STATSVLINE 227
#define RPL_STATSBANVER 228
#define RPL_STATSSPAMF 229
#define RPL_STATSEXCEPTTKL 230
#define RPL_SERVICEINFO 231
#define RPL_RULES 232
#define RPL_SERVICE 233

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, "");
}

View file

@ -263,7 +263,7 @@ static char *replies[] = {
/* 227 RPL_STATSVLINE */ ":%s 227 %s V %s %s %s",
/* 228 RPL_STATSBANVER */ ":%s 228 %s %s %s",
/* 229 RPL_STATSSPAMF */ ":%s 229 %s %c %s %s %li %li %li %s %s :%s",
/* 230 */ NULL,
/* 230 RPL_STATSEXCEPTTKL */ ":%s 230 %s %c %s",
/* 231 */ NULL, /* rfc1459 */
/* 232 RPL_RULES */ ":%s 232 %s :- %s",
/* 233 */ NULL, /* rfc1459 */