Remove the spamminess of --debug a little

git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1836 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
psychon
2010-03-16 09:53:58 +00:00
parent 3e49639cc9
commit fffa0f7d36
3 changed files with 2 additions and 11 deletions

View File

@@ -196,7 +196,7 @@ CModule* CWebSock::ResolveModule() {
if (pUser) {
pModRet = pUser->GetModules().FindModule(m_sModName);
} else {
DEBUG("User not found while trying to handle web requrest for [" + m_sPage + "]");
DEBUG("User not found while trying to handle web request for [" + m_sPage + "]");
}
} else {
// This could be user level or global level, check both
@@ -265,8 +265,6 @@ void CWebSock::SetPaths(CModule* pModule, bool bIsTemplate) {
CString sHomeSkinsDir(CZNC::Get().GetZNCPath() + "/webskins/");
CString sSkinName(GetSkinName());
DEBUG("---- sHomeSkinsDir=[" + sHomeSkinsDir + "] sSkinName=[" + sSkinName + "]");
// Module specific paths
if (pModule) {
@@ -346,8 +344,6 @@ void CWebSock::SetVars() {
bool CWebSock::AddModLoop(const CString& sLoopName, CModule& Module) {
CString sTitle(Module.GetWebMenuTitle());
DEBUG("=== === === === === [" + Module.GetModName() + "] [" + CString(IsLoggedIn()) + "]");
if (!sTitle.empty() && (IsLoggedIn() || (!Module.WebRequiresLogin() && !Module.WebRequiresAdmin())) && (m_spSession->IsAdmin() || !Module.WebRequiresAdmin())) {
CTemplate& Row = m_Template.AddRow(sLoopName);
@@ -520,7 +516,6 @@ void CWebSock::OnPageRequest(const CString& sURI) {
}
CWebSock::EPageReqResult CWebSock::OnPageRequestInternal(const CString& sURI, CString& sPageRet) {
DEBUG("CWebSock::OnPageRequest(" + sURI + ")");
m_spSession = GetSession();
SetCookie("SessionId", m_spSession->GetId());