From 27652144ec6e30e88cdef3dc39aa2168f3f31cc8 Mon Sep 17 00:00:00 2001 From: Adam Date: Wed, 17 Nov 2010 19:59:23 -0500 Subject: Fixed the mlock events to be useful and fixed /cs access view's last used time --- src/regchannel.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/regchannel.cpp b/src/regchannel.cpp index 053f75d5b..b4cded05b 100644 --- a/src/regchannel.cpp +++ b/src/regchannel.cpp @@ -432,7 +432,7 @@ bool ChannelInfo::SetMLock(ChannelModeName Name, bool status, const Anope::strin throw CoreException("Was told to mlock a mode negatively with a param?"); EventReturn MOD_RESULT; - FOREACH_RESULT(I_OnMLock, OnMLock(Name, status, param)); + FOREACH_RESULT(I_OnMLock, OnMLock(this, Name, status, param)); if (MOD_RESULT == EVENT_STOP) return false; @@ -462,7 +462,7 @@ bool ChannelInfo::SetMLock(ChannelModeName Name, bool status, const Anope::strin bool ChannelInfo::RemoveMLock(ChannelModeName Name) { EventReturn MOD_RESULT; - FOREACH_RESULT(I_OnUnMLock, OnUnMLock(Name)); + FOREACH_RESULT(I_OnUnMLock, OnUnMLock(this, Name)); if (MOD_RESULT == EVENT_STOP) return false; -- cgit