Commits

Anonymous committed 1531088

Restore snotes, logs for UNRESV nick.

This bug was introduced when adding bandb.

  • Participants
  • Parent commits b72843a

Comments (0)

Files changed (1)

File modules/m_resv.c

 		else if(propagated && rb_dlink_list_length(&cluster_conf_list) > 0)
 			cluster_generic(source_p, "UNRESV", SHARED_UNRESV, CAP_CLUSTER, "%s", name);
 
+		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);
-		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]",
 					       get_oper_name(source_p), name);
-			ilog(L_KLINE, "UR %s %s", get_oper_name(source_p), name);
+		}
+		else
+		{
+			sendto_realops_snomask(SNO_GENERAL, L_ALL,
+					       "%s has removed the temporary RESV for: [%s]",
+					       get_oper_name(source_p), name);
 		}
 		/* already have ptr from the loop above.. */
 		rb_dlinkDestroy(ptr, &resv_conf_list);