diff --git a/User.h b/User.h index 50faaf8d..3c64c807 100644 --- a/User.h +++ b/User.h @@ -87,7 +87,7 @@ public: bool PutStatusNotice(const CString& sLine, CClient* pClient = NULL, CClient* pSkipClient = NULL); bool PutModule(const CString& sModule, const CString& sLine, CClient* pClient = NULL, CClient* pSkipClient = NULL); - bool IsUserAttached() const { return (m_vClients.size() > 0); } + bool IsUserAttached() const { return !m_vClients.empty(); } void UserConnected(CClient* pClient); void UserDisconnected(CClient* pClient);