diff options
Diffstat (limited to 'modules/sasl.cpp')
-rw-r--r-- | modules/sasl.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/modules/sasl.cpp b/modules/sasl.cpp index 42d3bd9f3..f07026b9e 100644 --- a/modules/sasl.cpp +++ b/modules/sasl.cpp @@ -238,13 +238,14 @@ 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); + NickServ::Nick *na = NickServ::FindNick(nc->GetDisplay()); if (user) { - user->Login(nc); + user->Identify(na); } else { - IRCD->SendSVSLogin(session->uid, nc->GetDisplay()); + IRCD->SendSVSLogin(session->uid, nc->GetDisplay(), na->GetVhostIdent(), na->GetVhostHost()); } this->SendMessage(session, "D", "S"); } |