1
0
mirror of https://github.com/anope/anope.git synced 2026-07-04 18:33:12 +02:00

Fixed the mlock events to be useful and fixed /cs access view's last used time

This commit is contained in:
Adam
2010-11-17 19:59:23 -05:00
parent 4f8dfc2132
commit 27652144ec
3 changed files with 7 additions and 5 deletions
+2 -2
View File
@@ -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;