mirror of
https://github.com/ChocoTaco1/TacoServer.git
synced 2026-07-15 16:14:35 +00:00
Logging
This commit is contained in:
parent
e6b858bc1d
commit
4f919d5af9
1 changed files with 2 additions and 2 deletions
|
|
@ -2579,7 +2579,7 @@ function serverCmdStripAdmin(%client, %admin)
|
||||||
%admin.isAdmin = 0;
|
%admin.isAdmin = 0;
|
||||||
%admin.isSuperAdmin = 0;
|
%admin.isSuperAdmin = 0;
|
||||||
messageClient(%admin, 'MsgStripAdminPlayer', 'You have stripped yourself of admin privledges.');
|
messageClient(%admin, 'MsgStripAdminPlayer', 'You have stripped yourself of admin privledges.');
|
||||||
logEcho(%client.nameBase @ " stripped admin from " @ %admin.nameBase, 1);
|
adminLog(%client, " stripped admin from " @ %admin.nameBase);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
else if(%client.isSuperAdmin)
|
else if(%client.isSuperAdmin)
|
||||||
|
|
@ -2588,7 +2588,7 @@ function serverCmdStripAdmin(%client, %admin)
|
||||||
messageClient(%admin, 'MsgStripAdminPlayer', 'You are being stripped of your admin privledges by %1.', %client.name);
|
messageClient(%admin, 'MsgStripAdminPlayer', 'You are being stripped of your admin privledges by %1.', %client.name);
|
||||||
%admin.isAdmin = 0;
|
%admin.isAdmin = 0;
|
||||||
%admin.isSuperAdmin = 0;
|
%admin.isSuperAdmin = 0;
|
||||||
logEcho(%client.nameBase @ " stripped admin from " @ %admin.nameBase, 1);
|
adminLog(%client, " stripped admin from " @ %admin.nameBase);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
messageClient(%client, 'MsgError', '\c2Only Super Admins can use this command.');
|
messageClient(%client, 'MsgError', '\c2Only Super Admins can use this command.');
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue