Fixed auto unmute message not being printed

This commit is contained in:
Timo Smit 2017-03-14 20:35:53 +01:00
parent 16891a37c8
commit f3eab54330
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ function mutes.checkUnmutes()
if players.isMuted(clientId) and players.getMuteExpiresAt(clientId) < os.time() then
mutes.removeByClient(clientId)
et.trap_SendConsoleCommand(et.EXEC_APPEND, "cchat -1 \"^dunmute: ^7"..et.gentity_get(cmdClient, "pers.netname").." ^9has been automatically unmuted\";")
et.trap_SendConsoleCommand(et.EXEC_APPEND, "cchat -1 \"^dunmute: ^7"..et.gentity_get(clientId, "pers.netname").." ^9has been automatically unmuted\";")
end
end
end