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

This commit is contained in:
Sandu Liviu Catalin committed 2016-05-25 21:16:24 +03:00
1 parent 0d7243c305
commit 8ca6455e52
1 file changed
+3
+3
View File
@@ -255,6 +255,9 @@ public:
*/
Object & GetData()
{
// Validate the handle
Validate();
// Return the requested information
return m_Data;
}