Skip to content

Commit

Permalink
Исправлен вывод имени в чат "дискорда".
Browse files Browse the repository at this point in the history
  • Loading branch information
ZVee committed Apr 1, 2019
1 parent 282aa30 commit 7993592
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions code/modules/admin/verbs/adminhelp.dm
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ var/global/datum/admin_help_tickets/ahelp_tickets
var/msg = "Ticket [TicketHref("#[id]")] closed by [key_name]."
message_admins(msg)
log_admin_private(msg)
send2slack_logs("Ticket #[id]", "Closed by [key_name].", "(AHELP)")
send2slack_logs("Ticket #[id]", "Closed by [key_name(usr)].", "(AHELP)")

//Mark open ticket as resolved/legitimate, returns ahelp verb
/datum/admin_help/proc/Resolve(key_name = key_name_admin(usr), silent = FALSE)
Expand All @@ -324,7 +324,7 @@ var/global/datum/admin_help_tickets/ahelp_tickets
var/msg = "Ticket [TicketHref("#[id]")] resolved by [key_name]"
message_admins(msg)
log_admin_private(msg)
send2slack_logs("Ticket #[id]", "Resolved by [key_name].", "(AHELP)")
send2slack_logs("Ticket #[id]", "Resolved by [key_name(usr)].", "(AHELP)")

//Close and return ahelp verb, use if ticket is incoherent
/datum/admin_help/proc/Reject(key_name = key_name_admin(usr))
Expand All @@ -343,7 +343,7 @@ var/global/datum/admin_help_tickets/ahelp_tickets
var/msg = "Ticket [TicketHref("#[id]")] rejected by [key_name]"
message_admins(msg)
log_admin_private(msg)
send2slack_logs("Ticket #[id]", "Rejected by [key_name].", "(AHELP)")
send2slack_logs("Ticket #[id]", "Rejected by [key_name(usr)].", "(AHELP)")
AddInteraction("Rejected by [key_name].")
Close(silent = TRUE)

Expand All @@ -362,7 +362,7 @@ var/global/datum/admin_help_tickets/ahelp_tickets
msg = "Ticket [TicketHref("#[id]")] marked as IC by [key_name]"
message_admins(msg)
log_admin_private(msg)
send2slack_logs("Ticket #[id]", "Marked as IC issue by [key_name].", "(AHELP)")
send2slack_logs("Ticket #[id]", "Marked as IC issue by [key_name(usr)].", "(AHELP)")
AddInteraction("Marked as IC issue by [key_name]")
Resolve(silent = TRUE)

Expand Down

0 comments on commit 7993592

Please sign in to comment.