diff --git a/modules/webadmin.cpp b/modules/webadmin.cpp index f9805cc6..8c8113df 100644 --- a/modules/webadmin.cpp +++ b/modules/webadmin.cpp @@ -241,7 +241,12 @@ bool CWebAdminSock::OnLogin(const CString& sUser, const CString& sPass) { m_spAuth = new CWebAdminAuth(this, sUser, sPass); if (CZNC::Get().GetModules().OnLoginAttempt(m_spAuth)) { + if (IsLoggedIn()) { + return true; + } + PauseRead(); + return false; }