From 5ab4d212894668326b7444db9df31a382625aec8 Mon Sep 17 00:00:00 2001 From: Goraf <22941576+Goraf@users.noreply.github.com> Date: Sat, 24 Feb 2018 00:37:41 +0100 Subject: Discord: remove extra qualification on member --- protocols/Discord/src/proto.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'protocols') diff --git a/protocols/Discord/src/proto.h b/protocols/Discord/src/proto.h index 24e4562e1b..49715cccd6 100644 --- a/protocols/Discord/src/proto.h +++ b/protocols/Discord/src/proto.h @@ -104,7 +104,8 @@ struct CDiscordGuild : public MZeroedObject ~CDiscordGuild(); __forceinline CDiscordGuildMember* FindUser(SnowFlake userId) - { return arChatUsers.find((CDiscordGuildMember*)&userId); + { + return arChatUsers.find((CDiscordGuildMember*)&userId); } SnowFlake id, ownerId; @@ -163,7 +164,7 @@ class CDiscordProto : public PROTO HNETLIBCONN m_hGatewayConnection; // gateway connection void __cdecl GatewayThread(void*); - void CDiscordProto::GatewayThreadWorker(void); + void GatewayThreadWorker(void); void GatewaySend(const JSONNode&, int opCode = 1); void GatewayProcess(const JSONNode&); @@ -220,7 +221,8 @@ class CDiscordProto : public PROTO OBJLIST arGuilds; __forceinline CDiscordGuild* FindGuild(SnowFlake id) const - { return arGuilds.find((CDiscordGuild*)&id); + { + return arGuilds.find((CDiscordGuild*)&id); } void ProcessGuild(const JSONNode&); -- cgit v1.2.3