Add back unresv (permanent resv) notices.

This commit is contained in:
Jilles Tjoelker 2010-01-09 22:12:06 +01:00
parent 43d4d72ca9
commit 1a9ea263fa

View file

@ -462,7 +462,14 @@ remove_resv(struct Client *source_p, const char *name)
} }
if(!aconf->hold) if(!aconf->hold)
{
bandb_del(BANDB_RESV, aconf->host, NULL); 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 else
{ {
sendto_one_notice(source_p, ":RESV for [%s] is removed", name); sendto_one_notice(source_p, ":RESV for [%s] is removed", name);