summaryrefslogtreecommitdiff
path: root/modules/extra/sql_authentication.cpp
diff options
context:
space:
mode:
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());