From 9f4f06e995f2396a1c19cb8fedfb306cd2c0ce5a Mon Sep 17 00:00:00 2001 From: 12pm <30786226+12pm@users.noreply.github.com> Date: Tue, 19 Mar 2019 22:54:16 +0100 Subject: [PATCH] Make updating nameban reason work --- src/engine/server/server.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/engine/server/server.cpp b/src/engine/server/server.cpp index e6c9221b7..25eb2bc89 100644 --- a/src/engine/server/server.cpp +++ b/src/engine/server/server.cpp @@ -2402,6 +2402,7 @@ void CServer::ConNameBan(IConsole::IResult *pResult, void *pUser) pThis->Console()->Print(IConsole::OUTPUT_LEVEL_STANDARD, "name_ban", aBuf); pBan->m_Distance = Distance; pBan->m_IsSubstring = IsSubstring; + str_copy(pBan->m_aReason, pReason, sizeof(pBan->m_aReason)); return; } }