diff options
author | Adam <Adam@anope.org> | 2016-11-11 12:58:14 -0500 |
---|---|---|
committer | Adam <Adam@anope.org> | 2016-11-11 12:58:14 -0500 |
commit | ef5b6919e3508cc9d4c722285d9d56f5a275f650 (patch) | |
tree | 56497f0a4f5d1847bae511c72bdb2d3581df58ef /modules/database/flatfile.cpp | |
parent | 8dd6e3195ed7600e39935e887df2626215733dfb (diff) |
Fix opers not really being serializable
Diffstat (limited to 'modules/database/flatfile.cpp')
-rw-r--r-- | modules/database/flatfile.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/database/flatfile.cpp b/modules/database/flatfile.cpp index a130ed0ed..7483b2d34 100644 --- a/modules/database/flatfile.cpp +++ b/modules/database/flatfile.cpp @@ -47,6 +47,7 @@ class DBFlatFile : public Module account->SetPassword(data["pass"]); account->SetEmail(data["email"]); account->SetLanguage(data["language"]); + account->SetOper(Oper::Find(account->GetDisplay())); spacesepstream sep = data["access"]; for (Anope::string token; sep.GetToken(token);) |