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:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user