summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authormichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>2013-07-03 13:00:46 +0000
committermichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>2013-07-03 13:00:46 +0000
commit5eb57c1eee0e392c4bc0d278dd1846ed96f69c61 (patch)
tree4155e8d8d722ede09834ecf081a774aad1de0ba7 /modules
parent41e19215aeccd1a43b73f42b671e5663556fbe83 (diff)
- Added XLINE and RESV logging types
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@2337 82007160-df01-0410-b94d-b575c5fd34c7
Diffstat (limited to 'modules')
-rw-r--r--modules/m_resv.c4
-rw-r--r--modules/m_xline.c6
2 files changed, 5 insertions, 5 deletions
diff --git a/modules/m_resv.c b/modules/m_resv.c
index 1364947..11eee50 100644
--- a/modules/m_resv.c
+++ b/modules/m_resv.c
@@ -245,7 +245,7 @@ parse_resv(struct Client *source_p, char *name, int tkline_time, char *reason)
tkline_time/60,
(MyClient(source_p) ? "local" : "remote"),
conf->name, conf->reason);
- ilog(LOG_TYPE_IRCD, "%s added temporary %d min. RESV for [%s] [%s]",
+ ilog(LOG_TYPE_RESV, "%s added temporary %d min. RESV for [%s] [%s]",
source_p->name, (int)tkline_time/60,
conf->name, conf->reason);
conf->until = CurrentTime + tkline_time;
@@ -306,7 +306,7 @@ parse_resv(struct Client *source_p, char *name, int tkline_time, char *reason)
tkline_time/60,
(MyClient(source_p) ? "local" : "remote"),
conf->name, conf->reason);
- ilog(LOG_TYPE_IRCD, "%s added temporary %d min. RESV for [%s] [%s]",
+ ilog(LOG_TYPE_RESV, "%s added temporary %d min. RESV for [%s] [%s]",
source_p->name, (int)tkline_time/60,
conf->name, conf->reason);
conf->until = CurrentTime + tkline_time;
diff --git a/modules/m_xline.c b/modules/m_xline.c
index 1d48860..f8d55b2 100644
--- a/modules/m_xline.c
+++ b/modules/m_xline.c
@@ -340,7 +340,7 @@ write_xline(struct Client *source_p, char *gecos, char *reason,
sendto_one(source_p, ":%s NOTICE %s :Added temporary %d min. X-Line [%s]",
MyConnect(source_p) ? me.name : ID_or_name(&me, source_p->from),
source_p->name, (int)tkline_time/60, conf->name);
- ilog(LOG_TYPE_KLINE, "%s added temporary %d min. X-Line for [%s] [%s]",
+ ilog(LOG_TYPE_XLINE, "%s added temporary %d min. X-Line for [%s] [%s]",
source_p->name, (int)tkline_time/60,
conf->name, conf->reason);
conf->until = CurrentTime + tkline_time;
@@ -355,7 +355,7 @@ write_xline(struct Client *source_p, char *gecos, char *reason,
":%s NOTICE %s :Added X-Line [%s] [%s]",
MyConnect(source_p) ? me.name : ID_or_name(&me, source_p->from),
source_p->name, conf->name, conf->reason);
- ilog(LOG_TYPE_IRCD, "%s added X-Line for [%s] [%s]",
+ ilog(LOG_TYPE_XLINE, "%s added X-Line for [%s] [%s]",
get_oper_name(source_p), conf->name, conf->reason);
}
@@ -373,7 +373,7 @@ remove_xline(struct Client *source_p, char *gecos)
sendto_realops_flags(UMODE_ALL, L_ALL, SEND_NOTICE,
"%s has removed the X-Line for: [%s]",
get_oper_name(source_p), gecos);
- ilog(LOG_TYPE_KLINE, "%s removed X-Line for [%s]",
+ ilog(LOG_TYPE_XLINE, "%s removed X-Line for [%s]",
source_p->name, gecos);
}
else