1
0
mirror of https://github.com/anope/anope.git synced 2026-07-04 19:33:12 +02:00

unreal4: send sjoin with empty users in SendChannel

This commit is contained in:
Adam
2017-10-12 19:28:12 -04:00
parent 2963fc0a1d
commit e95c07291a
+2 -16
View File
@@ -366,22 +366,8 @@ class UnrealIRCdProto : public IRCDProto
void SendChannel(Channel *c) anope_override
{
/* Unreal does not support updating a channels TS without actually joining a user,
* so we will join and part us now
*/
BotInfo *bi = c->ci->WhoSends();
if (!bi)
;
else if (c->FindUser(bi) == NULL)
{
bi->Join(c);
bi->Part(c);
}
else
{
bi->Part(c);
bi->Join(c);
}
UplinkSocket::Message(Me) << "SJOIN " << c->creation_time << " " << c->name
<< " +" << c->GetModes(true, true) << " :";
}
void SendSASLMessage(const SASL::Message &message) anope_override