summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2017-10-07 18:37:19 -0400
committerAdam <Adam@anope.org>2017-10-07 18:37:19 -0400
commit9e0fe93cfc0b7e1265fb24429debb36356294d84 (patch)
treed5466eaeb308af4333a1087be21dac63bef67a8b
parent6bcdc6b18d15d7954b090d762624757c6483d394 (diff)
unreal: send channel modes in sjoin
-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 053e41deb..e2396a115 100644
--- a/modules/protocol/unreal.cpp
+++ b/modules/protocol/unreal.cpp
@@ -127,7 +127,7 @@ void unreal::senders::MessageChannel::Send(Channel* c)
void unreal::senders::Join::Send(User* user, Channel* c, const ChannelStatus* status)
{
- Uplink::Send(Me, "SJOIN", c->creation_time, c->name, user->GetUID());
+ Uplink::Send(Me, "SJOIN", c->creation_time, c->name, "+" + c->GetModes(true, true), user->GetUID());
if (status)
{
/* First save the channel status incase uc->Status == status */