Fixes ban / kick messages not showing (#11083)

This commit is contained in:
Karolis
2021-01-28 12:20:37 +02:00
committed by GitHub
parent 0c636cf27a
commit dd42356c4e
5 changed files with 16 additions and 12 deletions

View File

@@ -53,7 +53,7 @@
if(!isobserver(C.mob) && !C.holder)
if(C.is_afk(inactivity_threshold))
log_access("AFK: [key_name(C)]")
to_chat(C, SPAN_WARNING("You have been inactive for more than [config.kick_inactive] minute\s and have been disconnected."))
to_chat_immediate(C, SPAN_WARNING("You have been inactive for more than [config.kick_inactive] minute\s and have been disconnected."))
qdel(C)
kicked_clients++