mirror of
https://github.com/SPLURT-Station/S.P.L.U.R.T-Station-13.git
synced 2025-12-17 05:12:40 +00:00
In total: - Adds span defines for `reallybig hypnophrase`, `big warning`, `header` - Fixes a missing apostrophe for hypno stare - Makes a special exception for cuddling.dm, which uses an irregular span - Puts the spans file back
14 lines
549 B
Plaintext
14 lines
549 B
Plaintext
/datum/admins/proc/kick(mob/M)
|
|
if (!ismob(M) || !M.client)
|
|
to_chat(usr, span_danger("Error: [M] has no client!"))
|
|
return
|
|
|
|
if(!check_if_greater_rights_than(M.client))
|
|
to_chat(usr, span_danger("Error: They have more rights than you do."))
|
|
return
|
|
|
|
to_chat(M, span_danger("You have been kicked from the server by [usr.client.holder.fakekey ? "an Administrator" : "[usr.client.key]"]."))
|
|
log_admin("[key_name(usr)] kicked [key_name(M)].")
|
|
message_admins(span_adminnotice("[key_name_admin(usr)] kicked [key_name_admin(M)]."))
|
|
qdel(M.client)
|