diff options
Diffstat (limited to 'protocols/Discord/src/proto.h')
-rw-r--r-- | protocols/Discord/src/proto.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/protocols/Discord/src/proto.h b/protocols/Discord/src/proto.h index 52f9104107..8b43d85aeb 100644 --- a/protocols/Discord/src/proto.h +++ b/protocols/Discord/src/proto.h @@ -30,6 +30,7 @@ public: JsonReply(NETLIBHTTPREQUEST *); ~JsonReply(); + __forceinline int error() const { return m_errorCode; } __forceinline JSONNode& data() const { return *m_root; } __forceinline operator bool() const { return m_errorCode == 200; } }; |