diff options
| author | Adam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864> | 2010-02-28 22:12:09 +0000 |
|---|---|---|
| committer | Adam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864> | 2010-02-28 22:12:09 +0000 |
| commit | ab1f8e01faf322f2da77369e5700f2e7ff817ae5 (patch) | |
| tree | 88830e0943e5cda5912dc5a1eba8995615afd9ae /src/regchannel.cpp | |
| parent | 3f80e1cad02735f692a5a300ee3b200a21f330aa (diff) | |
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
Diffstat (limited to 'src/regchannel.cpp')
| -rw-r--r-- | src/regchannel.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/regchannel.cpp b/src/regchannel.cpp index 4460cc272..6070441a2 100644 --- a/src/regchannel.cpp +++ b/src/regchannel.cpp @@ -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; |
