summaryrefslogtreecommitdiff
path: root/modules/extra/sql_authentication.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2017-12-03 18:23:04 -0500
committerAdam <Adam@anope.org>2017-12-03 18:23:04 -0500
commitba2bd6e45c2a5f5d80ab3ea52535f889b50b3f39 (patch)
tree0475d9a14af079a15e8e77fa37b313435a98437b /modules/extra/sql_authentication.cpp
parent8c160cf072b4edbae9bbf2a63f5fe53d2bfbdddb (diff)
ldap_authentication: fix build
Diffstat (limited to 'modules/extra/sql_authentication.cpp')
-rw-r--r--modules/extra/sql_authentication.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/extra/sql_authentication.cpp b/modules/extra/sql_authentication.cpp
index 4342cbbdf..c8685babc 100644
--- a/modules/extra/sql_authentication.cpp
+++ b/modules/extra/sql_authentication.cpp
@@ -63,6 +63,7 @@ class SQLAuthenticationResult : public SQL::Interface
{
NickServ::Account *nc = Serialize::New<NickServ::Account *>();
nc->SetDisplay(req->GetAccount());
+ nc->SetOper(Oper::Find(nc->GetDisplay()));
na = Serialize::New<NickServ::Nick *>();
na->SetNick(nc->GetDisplay());