From c4f40ed3a751f525d66920562f61b55996d83941 Mon Sep 17 00:00:00 2001 From: Adam- Date: Fri, 9 Apr 2010 22:50:48 +0000 Subject: 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 --- src/core/db_plain.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/core') 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(-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; -- cgit