mirror of
https://github.com/znc/znc.git
synced 2026-08-06 08:52:57 +02:00
Remove a mostly unused flag from CModInfo
Nobody cares if a module is found in ~/.znc/modules or in /usr/lib/znc/, right? git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1417 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
@@ -973,7 +973,6 @@ void CModules::GetAvailableMods(set<CModInfo>& ssMods, bool bGlobal) {
|
||||
|
||||
if (GetModInfo(ModInfo, sName)) {
|
||||
if (ModInfo.IsGlobal() == bGlobal) {
|
||||
ModInfo.SetSystem(false);
|
||||
ssMods.insert(ModInfo);
|
||||
}
|
||||
}
|
||||
@@ -988,7 +987,6 @@ void CModules::GetAvailableMods(set<CModInfo>& ssMods, bool bGlobal) {
|
||||
|
||||
if (GetModInfo(ModInfo, sName)) {
|
||||
if (ModInfo.IsGlobal() == bGlobal) {
|
||||
ModInfo.SetSystem(false);
|
||||
ssMods.insert(ModInfo);
|
||||
}
|
||||
}
|
||||
@@ -1003,7 +1001,6 @@ void CModules::GetAvailableMods(set<CModInfo>& ssMods, bool bGlobal) {
|
||||
|
||||
if (GetModInfo(ModInfo, sName)) {
|
||||
if (ModInfo.IsGlobal() == bGlobal) {
|
||||
ModInfo.SetSystem(true);
|
||||
ssMods.insert(ModInfo);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user