summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZoddo <zoddo.ino@gmail.com>2016-04-13 22:36:55 +0200
committerZoddo <zoddo.ino@gmail.com>2016-04-15 10:49:30 +0200
commit753b8dc989984f8bf39c59d57f93d7b318a07a0a (patch)
treedaf5c60f05cd61e6dbd873a18f15734588de03fe
parentd2ea1e7917c045856f70cb8d82861e913a08a9f7 (diff)
Send new account name to the IRCd on SASL reauth
-rw-r--r--modules/m_sasl.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/m_sasl.cpp b/modules/m_sasl.cpp
index 2e0410e7c..e1f55bcc9 100644
--- a/modules/m_sasl.cpp
+++ b/modules/m_sasl.cpp
@@ -226,10 +226,10 @@ class SASLService : public SASL::Service, public Timer
// 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);
- const NickAlias *na = NickAlias::Find(nc->display);
+ NickAlias *na = NickAlias::Find(nc->display);
if (user)
{
- user->Login(nc);
+ user->Identify(na);
}
else
{