mirror of
https://github.com/matrix-construct/construct
synced 2024-12-27 07:54:05 +01:00
Add back missing notices.
This commit is contained in:
parent
23959371d0
commit
00c036b172
1 changed files with 18 additions and 0 deletions
|
@ -235,8 +235,17 @@ parse_resv(struct Client *source_p, const char *name, const char *reason, int te
|
|||
temp_time / 60, name);
|
||||
}
|
||||
else
|
||||
{
|
||||
sendto_realops_snomask(SNO_GENERAL, L_ALL,
|
||||
"%s added RESV for [%s] [%s]",
|
||||
get_oper_name(source_p), name, reason);
|
||||
ilog(L_KLINE, "R %s 0 %s %s",
|
||||
get_oper_name(source_p), name, reason);
|
||||
sendto_one_notice(source_p, ":Added RESV [%s]", name);
|
||||
|
||||
bandb_add(BANDB_RESV, source_p, aconf->host, NULL, aconf->passwd, NULL, 0);
|
||||
}
|
||||
}
|
||||
else if(clean_resv_nick(name))
|
||||
{
|
||||
if(strlen(name) > NICKLEN * 2)
|
||||
|
@ -288,8 +297,17 @@ parse_resv(struct Client *source_p, const char *name, const char *reason, int te
|
|||
temp_time / 60, name);
|
||||
}
|
||||
else
|
||||
{
|
||||
sendto_realops_snomask(SNO_GENERAL, L_ALL,
|
||||
"%s added RESV for [%s] [%s]",
|
||||
get_oper_name(source_p), name, reason);
|
||||
ilog(L_KLINE, "R %s 0 %s %s",
|
||||
get_oper_name(source_p), name, reason);
|
||||
sendto_one_notice(source_p, ":Added RESV [%s]", name);
|
||||
|
||||
bandb_add(BANDB_RESV, source_p, aconf->host, NULL, aconf->passwd, NULL, 0);
|
||||
}
|
||||
}
|
||||
else
|
||||
sendto_one_notice(source_p, ":You have specified an invalid resv: [%s]", name);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue