mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2026-08-16 20:57:11 +02:00
Throw error if user data is retrieved on invalid IRC sessions.
This commit is contained in:
@@ -255,6 +255,9 @@ public:
|
|||||||
*/
|
*/
|
||||||
Object & GetData()
|
Object & GetData()
|
||||||
{
|
{
|
||||||
|
// Validate the handle
|
||||||
|
Validate();
|
||||||
|
// Return the requested information
|
||||||
return m_Data;
|
return m_Data;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user