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