Skip to content

Commit

Permalink
Merge pull request #163 from Zoddo/fix_sasl_reauth
Browse files Browse the repository at this point in the history
Send new account name to the IRCd on SASL reauth
  • Loading branch information
Adam- committed Apr 16, 2016
2 parents cb0cda2 + 753b8dc commit c14ae99
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/m_sasl.cpp
Expand Up @@ -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
{
Expand Down

0 comments on commit c14ae99

Please sign in to comment.