mirror of
https://github.com/znc/znc.git
synced 2026-05-09 06:44:40 +02:00
Use member initialization lists [-Weffc++] (#270)
This commit is contained in:
+1
-2
@@ -625,8 +625,7 @@ void CClient::AuthUser() {
|
||||
}
|
||||
|
||||
CClientAuth::CClientAuth(CClient* pClient, const CString& sUsername, const CString& sPassword)
|
||||
: CAuthBase(sUsername, sPassword, pClient) {
|
||||
m_pClient = pClient;
|
||||
: CAuthBase(sUsername, sPassword, pClient), m_pClient(pClient) {
|
||||
}
|
||||
|
||||
void CClientAuth::RefusedLogin(const CString& sReason) {
|
||||
|
||||
Reference in New Issue
Block a user