From 363f35dab5293ee89b870df8effd09249d024576 Mon Sep 17 00:00:00 2001 From: michael Date: Tue, 30 Oct 2012 21:04:38 +0000 Subject: - Made m_globops() and ms_globops() use sendto_realops_flags() - Added message-type parameter to sendto_realops_flags() which can be one of SEND_NOTICE, SEND_GLOBAL, SEND_LOCOPS - Forward-port -r1617 git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/trunk@1618 82007160-df01-0410-b94d-b575c5fd34c7 --- src/csvlib.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/csvlib.c') diff --git a/src/csvlib.c b/src/csvlib.c index 0b6034d..cb43243 100644 --- a/src/csvlib.c +++ b/src/csvlib.c @@ -244,7 +244,7 @@ write_conf_line(struct Client *source_p, struct ConfItem *conf, if ((out = fopen(filename, "a")) == NULL) { - sendto_realops_flags(UMODE_ALL, L_ALL, + sendto_realops_flags(UMODE_ALL, L_ALL, SEND_NOTICE, "*** Problem opening %s ", filename); return; } @@ -253,7 +253,7 @@ write_conf_line(struct Client *source_p, struct ConfItem *conf, { case KLINE_TYPE: aconf = (struct AccessItem *)map_to_conf(conf); - sendto_realops_flags(UMODE_ALL, L_ALL, + sendto_realops_flags(UMODE_ALL, L_ALL, SEND_NOTICE, "%s added K-Line for [%s@%s] [%s]", get_oper_name(source_p), aconf->user, aconf->host, aconf->reason); @@ -268,7 +268,7 @@ write_conf_line(struct Client *source_p, struct ConfItem *conf, break; case DLINE_TYPE: aconf = (struct AccessItem *)map_to_conf(conf); - sendto_realops_flags(UMODE_ALL, L_ALL, + sendto_realops_flags(UMODE_ALL, L_ALL, SEND_NOTICE, "%s added D-Line for [%s] [%s]", get_oper_name(source_p), aconf->host, aconf->reason); sendto_one(source_p, ":%s NOTICE %s :Added D-Line [%s] to %s", @@ -283,7 +283,7 @@ write_conf_line(struct Client *source_p, struct ConfItem *conf, case XLINE_TYPE: xconf = (struct MatchItem *)map_to_conf(conf); - sendto_realops_flags(UMODE_ALL, L_ALL, + sendto_realops_flags(UMODE_ALL, L_ALL, SEND_NOTICE, "%s added X-Line for [%s] [%s]", get_oper_name(source_p), conf->name, xconf->reason); -- cgit