mirror of
https://github.com/pissnet/pissircd.git
synced 2025-08-13 21:51:36 +01:00
makefile.win32
This commit is contained in:
parent
3a052e213b
commit
64d8a67f4a
3 changed files with 12 additions and 4 deletions
|
@ -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
|
||||
|
|
|
@ -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, "");
|
||||
}
|
||||
|
|
|
@ -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 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue