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:
parent
0d7243c305
commit
8ca6455e52
@ -255,6 +255,9 @@ public:
|
|||||||
*/
|
*/
|
||||||
Object & GetData()
|
Object & GetData()
|
||||||
{
|
{
|
||||||
|
// Validate the handle
|
||||||
|
Validate();
|
||||||
|
// Return the requested information
|
||||||
return m_Data;
|
return m_Data;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user