1
0
mirror of https://github.com/anope/anope.git synced 2026-06-26 02:06:39 +02:00

unreal4: send modes in sjoin

This commit is contained in:
Adam
2017-10-12 19:27:51 -04:00
parent 5d309d46e1
commit 2963fc0a1d
+2 -1
View File
@@ -158,7 +158,8 @@ class UnrealIRCdProto : public IRCDProto
/* JOIN */
void SendJoin(User *user, Channel *c, const ChannelStatus *status) anope_override
{
UplinkSocket::Message(Me) << "SJOIN " << c->creation_time << " " << c->name << " :" << user->GetUID();
UplinkSocket::Message(Me) << "SJOIN " << c->creation_time << " " << c->name
<< " +" << c->GetModes(true, true) << " :" << user->GetUID();
if (status)
{
/* First save the channel status incase uc->Status == status */