diff options
Diffstat (limited to 'modules/protocol/unrealircd.cpp')
-rw-r--r-- | modules/protocol/unrealircd.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/protocol/unrealircd.cpp b/modules/protocol/unrealircd.cpp index 80817e196..b27b92b98 100644 --- a/modules/protocol/unrealircd.cpp +++ b/modules/protocol/unrealircd.cpp @@ -407,6 +407,11 @@ class UnrealIRCdProto : public IRCDProto { distmask = uid.substr(0, p); } + + if (!na->GetVhostIdent().empty()) + UplinkSocket::Message(Me) << "CHGIDENT " << uid << " " << na->GetVhostIdent(); + if (!na->GetVhostHost().empty()) + UplinkSocket::Message(Me) << "CHGHOST " << uid << " " << na->GetVhostHost(); UplinkSocket::Message(Me) << "SVSLOGIN " << distmask << " " << uid << " " << na->nc->display; } |