1
0
mirror of https://github.com/anope/anope.git synced 2026-06-28 11:06:37 +02:00

Added cs_entrymsg

This commit is contained in:
Adam
2010-11-23 16:48:54 -06:00
parent 7d1cfe9514
commit 37e02a3594
14 changed files with 272 additions and 158 deletions
-4
View File
@@ -776,8 +776,6 @@ class DBPlain : public Module
}
else if (key.equals_ci("MIG"))
ci->memos.ignores.push_back(params[0].ci_str());
else if (key.equals_ci("ENTRYMSG"))
ci->entry_message = params[0];
else if (key.equals_ci("BI"))
{
if (params[0].equals_ci("NAME"))
@@ -1061,8 +1059,6 @@ class DBPlain : public Module
}
for (unsigned k = 0, end = memos->ignores.size(); k < end; ++k)
db << "MD MIG " << Anope::string(memos->ignores[k]) << endl;
if (!ci->entry_message.empty())
db << "MD ENTRYMSG :" << ci->entry_message << endl;
if (ci->bi)
db << "MD BI NAME " << ci->bi->nick << endl;
if (ci->botflags.FlagCount())