summaryrefslogtreecommitdiff
path: root/src/csvlib.c
diff options
context:
space:
mode:
authormichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>2012-10-30 21:04:38 +0000
committermichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>2012-10-30 21:04:38 +0000
commit363f35dab5293ee89b870df8effd09249d024576 (patch)
tree82fa01195c8cfe635bcef3a28f0b51ebfef0d424 /src/csvlib.c
parenteef62fc56ba6df5690830206d5341cbd5be91612 (diff)
- 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
Diffstat (limited to 'src/csvlib.c')
-rw-r--r--src/csvlib.c8
1 files changed, 4 insertions, 4 deletions
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);