Skip to content
Open
Show file tree
Hide file tree
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
3 changes: 2 additions & 1 deletion code/controllers/subsystems/tickets/tickets.dm
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,8 @@ SUBSYSTEM_DEF(tickets)
ckey = astype(ckey, /client).ckey

for(var/datum/ticket/T in allTickets)
if(T.client_ckey == ckey && T.ticketState == TICKET_OPEN && (T.ticketCooldown > world.time))
//todo: remove the stupid staling system alltogether or do monke admin tickets god please I beg
if(T.client_ckey == ckey && (T.ticketState == TICKET_OPEN || T.ticketState == TICKET_STALE) && (T.ticketCooldown > world.time))
return T
return FALSE

Expand Down
4 changes: 2 additions & 2 deletions code/modules/admin/verbs/adminpm.dm
Original file line number Diff line number Diff line change
Expand Up @@ -131,10 +131,10 @@
i.addResponse(src, msg) // Add this response to their open tickets.
return
if(type == "Mentorhelp")
if(check_rights(R_ADMIN|R_MENTOR, 0, C.mob)) //Is the person being pm'd an admin? If so we check if the pm'er has open tickets
if(check_rights_for(C, R_ADMIN|R_MENTOR)) //Is the person being pm'd an admin? If so we check if the pm'er has open tickets
tickets = SSmentor_tickets.checkForTicket(src)
else // Ahelp
if(check_rights(R_ADMIN, 0, C.mob)) //Is the person being pm'd an admin? If so we check if the pm'er has open tickets
if(check_rights_for(C, R_ADMIN)) //Is the person being pm'd an admin? If so we check if the pm'er has open tickets
tickets = SStickets.checkForTicket(src)

if(tickets)
Expand Down
Loading