summaryrefslogtreecommitdiff
path: root/modules/protocol/unreal.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/protocol/unreal.cpp')
-rw-r--r--modules/protocol/unreal.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/protocol/unreal.cpp b/modules/protocol/unreal.cpp
index 138c58807..fe5ddad2d 100644
--- a/modules/protocol/unreal.cpp
+++ b/modules/protocol/unreal.cpp
@@ -220,7 +220,7 @@ class UnrealIRCdProto : public IRCDProto
if (!vIdent.empty())
Uplink::Send(Me, "CHGIDENT", u->GetUID(), vIdent);
if (!vhost.empty())
- Uplink::Send(Me, "CHGHOST", u->nick, vhost);
+ Uplink::Send(Me, "CHGHOST", u->GetUID(), vhost);
}
void SendConnect() override