Skip to content

Commit

Permalink
Let whitelisted UIDs save server settings (#978)
Browse files Browse the repository at this point in the history
* Let whitelisted UIDs save server settings.

* Call the function
  • Loading branch information
neilzar authored and commy2 committed Sep 13, 2018
1 parent e2e4266 commit 9ad30cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/settings/fnc_set.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ switch (toLower _source) do {

[QGVAR(refreshSetting), _setting] call CBA_fnc_globalEvent;
} else {
if (IS_ADMIN_LOGGED) then {
if ([] call FUNC(whitelisted)) then {
[QGVAR(setSettingServer), [_setting, _value, _priority, _store]] call CBA_fnc_serverEvent;
} else {
WARNING_1("Source is server, but no admin access. Setting: %1",_setting);
Expand Down

0 comments on commit 9ad30cc

Please sign in to comment.