diff options
author | Goraf <22941576+Goraf@users.noreply.github.com> | 2018-02-24 00:37:41 +0100 |
---|---|---|
committer | Goraf <22941576+Goraf@users.noreply.github.com> | 2018-02-24 18:20:46 +0100 |
commit | 5ab4d212894668326b7444db9df31a382625aec8 (patch) | |
tree | 0057dec2b0fecdff7c18b42a2d3f53b3b12534c7 /protocols/Discord/src/proto.h | |
parent | 1c0172cca4f1e90679321912e20436a7f42f122d (diff) |
Discord: remove extra qualification on member
Diffstat (limited to 'protocols/Discord/src/proto.h')
-rw-r--r-- | protocols/Discord/src/proto.h | 8 |
1 files changed, 5 insertions, 3 deletions
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<CDiscordProto> 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<CDiscordProto> OBJLIST<CDiscordGuild> arGuilds; __forceinline CDiscordGuild* FindGuild(SnowFlake id) const - { return arGuilds.find((CDiscordGuild*)&id); + { + return arGuilds.find((CDiscordGuild*)&id); } void ProcessGuild(const JSONNode&); |