mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 02:34:00 +00:00
[MIRROR] usr to user up to player effects (#9552)
Co-authored-by: Heroman3003 <31296024+Heroman3003@users.noreply.github.com> Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
a7e4ef7dad
commit
0180cc74c5
@@ -195,6 +195,6 @@
|
||||
switch(action)
|
||||
if("vote")
|
||||
if(params["target"] in choices)
|
||||
voted[usr.ckey] = params["target"]
|
||||
voted[ui.user.ckey] = params["target"]
|
||||
else
|
||||
message_admins(span_warning("User [key_name_admin(usr)] spoofed a vote in the vote panel!"))
|
||||
message_admins(span_warning("User [key_name_admin(ui.user)] spoofed a vote in the vote panel!"))
|
||||
|
||||
Reference in New Issue
Block a user