mirror of
https://github.com/anope/anope.git
synced 2026-07-10 02:03:13 +02:00
Merge pull request #163 from Zoddo/fix_sasl_reauth
Send new account name to the IRCd on SASL reauth
This commit is contained in:
+2
-2
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user