Make updating nameban reason work

This commit is contained in:
12pm 2019-03-19 22:54:16 +01:00
parent dda515b47d
commit 9f4f06e995

View file

@ -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;
}
}