mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-23 13:10:02 +01:00
[MIRROR] Admins cancelling a vote now leaves a log and message (#2388)
* Merge pull request #55810 from NotRanged/democracy Admins cancelling a vote now leaves a log and message * Admins cancelling a vote now leaves a log and message Co-authored-by: 81Denton <32391752+81Denton@users.noreply.github.com>
This commit is contained in:
@@ -333,6 +333,8 @@ SUBSYSTEM_DEF(vote)
|
||||
return
|
||||
if("cancel")
|
||||
if(usr.client.holder)
|
||||
usr.log_message("[key_name_admin(usr)] cancelled a vote.", LOG_ADMIN)
|
||||
message_admins("[key_name_admin(usr)] has cancelled the current vote.")
|
||||
reset()
|
||||
if("toggle_restart")
|
||||
if(usr.client.holder && trialmin)
|
||||
|
||||
Reference in New Issue
Block a user