summaryrefslogtreecommitdiff
path: root/modules/database/flatfile.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2017-05-29 12:49:22 -0400
committerAdam <Adam@anope.org>2017-05-29 13:11:16 -0400
commit3f143633541a5361bf5b02b0d69b65447aea7b79 (patch)
tree3a33bd044bc8936150dcab38f355f3c3726b05e5 /modules/database/flatfile.cpp
parente36d24a6c500b5ad921041fcb905f684c09d71e9 (diff)
Remove recognized status and secure
Also remove /ns status, which is now almost useless with no recognized status, and /ns access.
Diffstat (limited to 'modules/database/flatfile.cpp')
-rw-r--r--modules/database/flatfile.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/modules/database/flatfile.cpp b/modules/database/flatfile.cpp
index 5c0f43108..9cdc0bff4 100644
--- a/modules/database/flatfile.cpp
+++ b/modules/database/flatfile.cpp
@@ -24,7 +24,6 @@
#include "modules/chanserv/log.h"
#include "modules/chanserv/set_misc.h"
#include "modules/chanserv/suspend.h"
-#include "modules/nickserv/access.h"
#include "modules/nickserv/ajoin.h"
#include "modules/nickserv/cert.h"
#include "modules/nickserv/set_misc.h"
@@ -49,6 +48,7 @@ class DBFlatFile : public Module
account->SetLanguage(data["language"]);
account->SetOper(Oper::Find(account->GetDisplay()));
+#if 0
spacesepstream sep = data["access"];
for (Anope::string token; sep.GetToken(token);)
{
@@ -59,6 +59,7 @@ class DBFlatFile : public Module
access->SetMask(token);
}
}
+#endif
MemoServ::MemoInfo *memos = account->GetMemos();
if (memos != nullptr)
@@ -71,7 +72,7 @@ class DBFlatFile : public Module
catch (const ConvertException &) { }
}
- sep = data["memoignore"];
+ spacesepstream sep = data["memoignore"];
for (Anope::string token; memos && sep.GetToken(token);)
{
MemoServ::Ignore *ign = Serialize::New<MemoServ::Ignore *>();