Some minor stuff, again found via icc's "remarks"

git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1436 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
psychon
2009-03-21 09:32:50 +00:00
parent 860ccb7dec
commit 27a51fcec7
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -807,7 +807,7 @@ bool CModules::LoadModule(const CString& sModule, const CString& sArgs, CUser* p
bool bLoaded;
try {
bLoaded = pModule->OnLoad(sArgs, sRetMsg);
} catch (CModule::EModException e) {
} catch (CModule::EModException) {
bLoaded = false;
sRetMsg = "Caught an exception";
}
+1 -1
View File
@@ -19,7 +19,7 @@ struct array_size_helper {
};
template<class T, std::size_t N>
array_size_helper<N> array_size(T (&)[N]) {
static array_size_helper<N> array_size(T (&)[N]) {
return array_size_helper<N>();
}
+1 -1
View File
@@ -72,4 +72,4 @@ private:
TCacheMap<CString> m_Cache;
};
GLOBALMODULEDEFS(CFailToBanMod, "Block IPs for some time after a failed login");
GLOBALMODULEDEFS(CFailToBanMod, "Block IPs for some time after a failed login")
+1 -1
View File
@@ -23,7 +23,7 @@ namespace
CUser *m_pUser;
CChan *m_pChan;
};
};
}
CZNC::CZNC() {
if (!InitCsocket()) {