1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2025-02-21 20:27:13 +01:00

Throw error if user data is retrieved on invalid IRC sessions.

This commit is contained in:
Sandu Liviu Catalin 2016-05-25 21:16:24 +03:00
parent 0d7243c305
commit 8ca6455e52

View File

@ -255,6 +255,9 @@ public:
*/ */
Object & GetData() Object & GetData()
{ {
// Validate the handle
Validate();
// Return the requested information
return m_Data; return m_Data;
} }