summaryrefslogtreecommitdiff
path: root/modules/protocol/unrealircd.cpp
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2023-02-19 11:18:36 +0000
committerSadie Powell <sadie@witchery.services>2023-02-19 11:21:58 +0000
commitebe3fd7e571b0f258ccd7c0d8b843e514d63dbc6 (patch)
tree62a43ac8fcc8144e9e527ac735c1f9b466c9e7c7 /modules/protocol/unrealircd.cpp
parent885462d98e2dd3753b2992ce6fd6084340f86eee (diff)
parent1c9b34190ed602f09055afb910ddb4c664f71afe (diff)
Merge branch '2.0' into 2.1.
Diffstat (limited to 'modules/protocol/unrealircd.cpp')
-rw-r--r--modules/protocol/unrealircd.cpp5
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;
}