diff options
author | michael <michael@82007160-df01-0410-b94d-b575c5fd34c7> | 2013-07-03 13:24:43 +0000 |
---|---|---|
committer | michael <michael@82007160-df01-0410-b94d-b575c5fd34c7> | 2013-07-03 13:24:43 +0000 |
commit | b9b219f7b47fb9a3692cb8e0e1015a9500728260 (patch) | |
tree | f1d3083dd10565c2161f33a30deaec165af54b51 /modules/m_resv.c | |
parent | 11699a8caeddd76ee995331641ee48b7c3c06701 (diff) |
- UNRESV should be logged as well
- Improved logging. Fixed inconsistent use of
get_oper_name() vs. source_p->name
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@2339 82007160-df01-0410-b94d-b575c5fd34c7
Diffstat (limited to 'modules/m_resv.c')
-rw-r--r-- | modules/m_resv.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/m_resv.c b/modules/m_resv.c index 11eee50..945bee0 100644 --- a/modules/m_resv.c +++ b/modules/m_resv.c @@ -357,6 +357,8 @@ remove_resv(struct Client *source_p, const char *name) sendto_realops_flags(UMODE_ALL, L_ALL, SEND_NOTICE, "%s has removed the RESV for channel: %s", get_oper_name(source_p), name); + ilog(LOG_TYPE_RESV, "%s removed RESV for [%s]", + get_oper_name(source_p), name); } else { @@ -381,6 +383,8 @@ remove_resv(struct Client *source_p, const char *name) sendto_realops_flags(UMODE_ALL, L_ALL, SEND_NOTICE, "%s has removed the RESV for nick: %s", get_oper_name(source_p), name); + ilog(LOG_TYPE_RESV, "%s removed RESV for [%s]", + get_oper_name(source_p), name); } } |