Add back unresv (permanent resv) notices.

This commit is contained in:
Jilles Tjoelker 2010-01-09 22:12:06 +01:00
parent 609a0d5514
commit 4d9be1a6a3
1 changed files with 7 additions and 0 deletions

View File

@ -462,7 +462,14 @@ remove_resv(struct Client *source_p, const char *name)
}
if(!aconf->hold)
{
bandb_del(BANDB_RESV, aconf->host, NULL);
sendto_one_notice(source_p, ":RESV for [%s] is removed", name);
sendto_realops_snomask(SNO_GENERAL, L_ALL,
"%s has removed the RESV for: [%s]",
get_oper_name(source_p), name);
ilog(L_KLINE, "UR %s %s", get_oper_name(source_p), name);
}
else
{
sendto_one_notice(source_p, ":RESV for [%s] is removed", name);