summaryrefslogtreecommitdiff
path: root/modules/sasl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/sasl.cpp')
-rw-r--r--modules/sasl.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/sasl.cpp b/modules/sasl.cpp
index f07026b9e..0cc81d235 100644
--- a/modules/sasl.cpp
+++ b/modules/sasl.cpp
@@ -245,7 +245,8 @@ class SASLService : public SASL::Service, public Timer
}
else
{
- IRCD->SendSVSLogin(session->uid, nc->GetDisplay(), na->GetVhostIdent(), na->GetVhostHost());
+ HostServ::VHost *vhost = na->GetVHost();
+ IRCD->SendSVSLogin(session->uid, nc->GetDisplay(), vhost ? vhost->GetIdent() : "", vhost ? vhost->GetHost() : "");
}
this->SendMessage(session, "D", "S");
}