Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions addons/recorder/fnc_eh_onUserAdminStateChanged.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,8 @@

params ["_networkId", "_loggedIn", "_votedIn"];

_userInfo = (getUserInfo _networkId);
if (isNil "_userInfo") exitWith {};
_object = _userInfo select 10;
_userInfo = getUserInfo _networkId;
if (_userInfo isEqualTo []) exitWith {};

if (_loggedIn && !_votedIn) exitWith {
// if user has become admin by logging, not voting, trigger control addition check
Expand Down