From a990586f4d94d0b460a6796e08711e7e5adb49e3 Mon Sep 17 00:00:00 2001 From: Jilles Tjoelker Date: Sat, 9 Jan 2010 22:14:53 +0100 Subject: [PATCH] If a removed resv was temporary, mention this in the server notice. This agrees with xline. --- modules/m_resv.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/modules/m_resv.c b/modules/m_resv.c index 19bcfb65..21de7f3d 100644 --- a/modules/m_resv.c +++ b/modules/m_resv.c @@ -461,22 +461,20 @@ remove_resv(struct Client *source_p, const char *name) return; } + sendto_one_notice(source_p, ":RESV for [%s] is removed", name); + ilog(L_KLINE, "UR %s %s", get_oper_name(source_p), 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); sendto_realops_snomask(SNO_GENERAL, L_ALL, - "%s has removed the RESV for: [%s]", + "%s has removed the temporary RESV for: [%s]", get_oper_name(source_p), name); - ilog(L_KLINE, "UR %s %s", get_oper_name(source_p), name); } del_from_resv_hash(name, aconf); }