summaryrefslogtreecommitdiff
path: root/modules/protocol/unreal4.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2017-10-12 19:28:12 -0400
committerAdam <Adam@anope.org>2017-10-12 19:28:12 -0400
commite95c07291a824abbe7717f943e6f95eb6c638a4b (patch)
tree0447581c36d2382c7cb57c143dc046c63f28ef2a /modules/protocol/unreal4.cpp
parent2963fc0a1d3d026e10115fffa397465b49aab706 (diff)
unreal4: send sjoin with empty users in SendChannel
Diffstat (limited to 'modules/protocol/unreal4.cpp')
-rw-r--r--modules/protocol/unreal4.cpp18
1 files changed, 2 insertions, 16 deletions
diff --git a/modules/protocol/unreal4.cpp b/modules/protocol/unreal4.cpp
index 545d1c5a2..09b765050 100644
--- a/modules/protocol/unreal4.cpp
+++ b/modules/protocol/unreal4.cpp
@@ -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