summaryrefslogtreecommitdiff
path: root/modules/core/db_plain.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2010-10-02 00:07:39 -0400
committerAdam <Adam@anope.org>2010-10-02 00:07:39 -0400
commita62d824cb4266cdfbfbc81e142b22f1a2e7ed7be (patch)
treede976c91aeac6dc0be1cd2e46bed76fe60a352e4 /modules/core/db_plain.cpp
parente3afb119b925513c103c661ffc3c75c7602005e1 (diff)
Made MemoServ optional
Diffstat (limited to 'modules/core/db_plain.cpp')
-rw-r--r--modules/core/db_plain.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/modules/core/db_plain.cpp b/modules/core/db_plain.cpp
index dc108ac06..432313bc2 100644
--- a/modules/core/db_plain.cpp
+++ b/modules/core/db_plain.cpp
@@ -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;
}
}