mirror of
https://github.com/znc/znc.git
synced 2026-08-08 01:43:03 +02:00
Merge branch '1.6.x'
Conflicts: src/User.cpp
This commit is contained in:
+1
-1
@@ -32,7 +32,7 @@ AC_PROG_CXX
|
||||
# "Optional" because we want custom error message
|
||||
AX_CXX_COMPILE_STDCXX_11([noext], [optional])
|
||||
if test x"$HAVE_CXX11" != x1; then
|
||||
AC_MSG_ERROR([Either upgrade your compiler, or use ZNC 1.4])
|
||||
AC_MSG_ERROR([Upgrade your compiler. GCC 4.7+ and Clang 3.2+ are known to work.])
|
||||
fi
|
||||
|
||||
AC_PROG_INSTALL
|
||||
|
||||
@@ -1095,6 +1095,11 @@ bool CUser::LoadModule(const CString& sModName, const CString& sArgs, const CStr
|
||||
CFile fNVFile = CFile(GetUserPath() + "/moddata/" + sModName + "/.registry");
|
||||
|
||||
for (CIRCNetwork* pNetwork : m_vIRCNetworks) {
|
||||
// Check whether the network already has this module loaded (#954)
|
||||
if (pNetwork->GetModules().FindModule(sModName)) {
|
||||
continue;
|
||||
}
|
||||
|
||||
if (fNVFile.Exists()) {
|
||||
CString sNetworkModPath = pNetwork->GetNetworkPath() + "/moddata/" + sModName;
|
||||
if (!CFile::Exists(sNetworkModPath)) {
|
||||
|
||||
Reference in New Issue
Block a user