diff options
| author | Adam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864> | 2010-04-09 22:50:48 +0000 |
|---|---|---|
| committer | Adam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864> | 2010-04-09 22:50:48 +0000 |
| commit | c4f40ed3a751f525d66920562f61b55996d83941 (patch) | |
| tree | 53a6c0b98b848e70550f9e5c2119701b20d7a6b2 /src/core | |
| parent | a1c49c827fef2a451bd41606efa3b972ee7338f0 (diff) | |
Fixed tracking of InspIRCd mode +J and fixed mode manager and stacker to handle parameter modes correctly
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2879 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/core')
| -rw-r--r-- | src/core/db_plain.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/db_plain.cpp b/src/core/db_plain.cpp index fb73d2860..ca10a3a03 100644 --- a/src/core/db_plain.cpp +++ b/src/core/db_plain.cpp @@ -272,6 +272,7 @@ ChannelModeInfo ChannelModes[] = { {"PERM", CMODE_PERM}, {"NICKFLOOD", CMODE_NICKFLOOD}, {"JOINFLOOD", CMODE_JOINFLOOD}, + {"CMODE_NOREJOIN", CMODE_NOREJOIN}, {"", static_cast<ChannelModeName>(-1)} }; @@ -1041,7 +1042,7 @@ class DBPlain : public Module std::string Param; for (j = 0; ChannelModes[j].Value != -1; ++j) if (ci->GetParam(ChannelModes[j].Value, Param)) - db << "MD MLP " << ChannelModes[j].Name << " " << Param; + db << "MD MLP " << ChannelModes[j].Name << " " << Param << endl; if (!ci->memos.memos.empty()) { MemoInfo *memos = &ci->memos; |
