mirror of
https://github.com/anope/anope.git
synced 2026-07-03 09:13:12 +02:00
Made it so you can register empty nonregistered channels to make registering channels through SQL a bit more effective, fixed a some small bugs found on the testnet, added some missing modes into InspIRCd1.2 support, and updated TODO and Changes.lang
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2799 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
+2
-2
@@ -433,7 +433,7 @@ bool ChannelInfo::SetMLock(ChannelModeName Name, bool status, const std::string
|
||||
throw CoreException("Was told to mlock a mode negatively with a param?");
|
||||
|
||||
EventReturn MOD_RESULT;
|
||||
FOREACH_MOD(I_OnMLock, OnMLock(Name, status, param));
|
||||
FOREACH_RESULT(I_OnMLock, OnMLock(Name, status, param));
|
||||
if (MOD_RESULT == EVENT_STOP)
|
||||
return false;
|
||||
|
||||
@@ -469,7 +469,7 @@ bool ChannelInfo::RemoveMLock(ChannelModeName Name)
|
||||
size_t value = Name;
|
||||
|
||||
EventReturn MOD_RESULT;
|
||||
FOREACH_MOD(I_OnUnMLock, OnUnMLock(Name));
|
||||
FOREACH_RESULT(I_OnUnMLock, OnUnMLock(Name));
|
||||
if (MOD_RESULT == EVENT_STOP)
|
||||
return false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user