mirror of
https://github.com/znc/znc.git
synced 2026-07-03 16:31:49 +02:00
Fix CUser::IsUserAttached().
It honored only clients connected without any network. Thanks to Cronus` for reporting this.
This commit is contained in:
@@ -81,7 +81,7 @@ public:
|
||||
bool PutModule(const CString& sModule, const CString& sLine, CClient* pClient = NULL, CClient* pSkipClient = NULL);
|
||||
bool PutModNotice(const CString& sModule, const CString& sLine, CClient* pClient = NULL, CClient* pSkipClient = NULL);
|
||||
|
||||
bool IsUserAttached() const { return !m_vClients.empty(); }
|
||||
bool IsUserAttached() const;
|
||||
void UserConnected(CClient* pClient);
|
||||
void UserDisconnected(CClient* pClient);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user