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

Made MemoServ optional

This commit is contained in:
Adam
2010-10-02 00:07:39 -04:00
parent e3afb119b9
commit a62d824cb4
7 changed files with 35 additions and 31 deletions
+2 -5
View File
@@ -928,12 +928,9 @@ class DBPlain : public Module
BotInfo *bi = it->second;
db << "BI " << bi->nick << " " << bi->GetIdent() << " " << bi->host << " " << bi->created << " " << bi->chancount << " :" << bi->realname << endl;
if (bi->FlagCount())
if (bi->HasFlag(BI_PRIVATE))
{
db << "MD FLAGS";
if (bi->HasFlag(BI_PRIVATE))
db << " PRIVATE";
db << endl;
db << "MD FLAGS PRIVATE" << endl;
}
}