mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-03 04:25:55 +01:00
closes #4390
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
if ((properties.loggedIn && !data.config.loggedIn) ||
|
||||
(properties.globalMod && !data.isGlobalMod && !data.isAdmin) ||
|
||||
(properties.adminOnly && !data.isAdmin) ||
|
||||
(properties.installed && properties.installed.search && !data.searchEnabled)) {
|
||||
(properties.searchInstalled && !data.searchEnabled)) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user