Commented out some debug prints

git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@510 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
prozacx
2005-09-20 01:55:04 +00:00
parent aa42edde53
commit aac3cdffd9

View File

@@ -1050,17 +1050,17 @@ CString CZNC::FindModPath(const CString& sModule) const {
sModPath += (sModule.find(".") == CString::npos) ? ".so" : "";
if (!CFile::Exists(sModPath)) {
DEBUG_ONLY(cout << "[" << sModPath << "] Not found..." << endl);
//DEBUG_ONLY(cout << "[" << sModPath << "] Not found..." << endl);
sModPath = GetModPath() + "/" + sModule;
sModPath += (sModule.find(".") == CString::npos) ? ".so" : "";
if (!CFile::Exists(sModPath)) {
DEBUG_ONLY(cout << "[" << sModPath << "] Not found..." << endl);
//DEBUG_ONLY(cout << "[" << sModPath << "] Not found..." << endl);
sModPath = _MODDIR_ + CString("/") + sModule;
sModPath += (sModule.find(".") == CString::npos) ? ".so" : "";
if (!CFile::Exists(sModPath)) {
DEBUG_ONLY(cout << "[" << sModPath << "] Not found... giving up!" << endl);
//DEBUG_ONLY(cout << "[" << sModPath << "] Not found... giving up!" << endl);
return "";
}
}