summaryrefslogtreecommitdiff
path: root/modules/sasl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/sasl.cpp')
-rw-r--r--modules/sasl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/sasl.cpp b/modules/sasl.cpp
index f9be602b8..d84d08624 100644
--- a/modules/sasl.cpp
+++ b/modules/sasl.cpp
@@ -302,7 +302,7 @@ public:
// If the user is already introduced then we log them in now.
// Otherwise, we send an SVSLOGIN to log them in later.
User *user = User::Find(session->uid);
- NickAlias *na = nc ? NickAlias::Find(nc->display) : nullptr;
+ NickAlias *na = nc ? nc->na : nullptr;
if (user)
{
if (na)