mirror of
https://github.com/znc/znc.git
synced 2026-06-28 14:01:35 +02:00
Rename OnUserAttached and OnUserDetached and add OnClientConnect
OnUserAttached is renamed to OnClientLogin and OnUserDetached to OnClientDisconnect. This adds some new function with different arguments for the old names to cause warnings from -Woverloaded-virtual while compiling. This patch also adds OnClientConnect() which is called when the low-level raw connection is established. (No SSL-handshake was done at this point yet!) git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1266 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
+2
-2
@@ -302,8 +302,8 @@ public:
|
||||
void UnSetUser() { m_pUser = NULL; }
|
||||
|
||||
virtual bool OnLoad(const CString & sArgs, CString & sMessage);
|
||||
virtual void OnUserAttached() { CBNone("OnUserAttached"); }
|
||||
virtual void OnUserDetached() { CBNone("OnUserDetached"); }
|
||||
virtual void OnClientLogin() { CBNone("OnClientLogin"); }
|
||||
virtual void OnClientDisconnect() { CBNone("OnClientDisconnect"); }
|
||||
virtual void OnIRCDisconnected() { CBNone("OnIRCDisconnected"); }
|
||||
virtual void OnIRCConnected() { CBNone("OnIRCConnected"); }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user