diff --git a/WebModules.cpp b/WebModules.cpp index db95646d..06896662 100644 --- a/WebModules.cpp +++ b/WebModules.cpp @@ -554,10 +554,6 @@ CWebSock::EPageReqResult CWebSock::OnPageRequestInternal(const CString& sURI, CS return PAGE_DONE; } - if (m_sModName.empty()) { - return PrintTemplate("modlist", sPageRet); - } - CModule *pModule = CZNC::Get().GetModules().FindModule(m_sModName); if (!pModule) { // Check if GetSession()->GetUser() is NULL and display