mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-19 14:38:18 +00:00
Make updating nameban reason work
This commit is contained in:
parent
dda515b47d
commit
9f4f06e995
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue