3356: fix typo "authroized" r=def- a=headshot2017

<!-- What is the motivation for the changes of this pull request -->

## Checklist

- [ ] Tested the change ingame
- [ ] Provided screenshots if it is a visual change
- [ ] Tested in combination with possibly related configuration options
- [ ] Written a unit test if it works standalone, system.c especially
- [ ] Considered possible null pointers and out of bounds array indexing
- [ ] Changed no physics that affect existing maps
- [ ] Tested the change with [ASan+UBSan or valgrind's memcheck](https://github.com/ddnet/ddnet/#using-addresssanitizer--undefinedbehavioursanitizer-or-valgrinds-memcheck) (optional)


Co-authored-by: Headshot <36455681+headshot2017@users.noreply.github.com>
This commit is contained in:
bors[bot] 2020-11-25 07:16:27 +00:00 committed by GitHub
commit b4ae500a49
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2849,7 +2849,7 @@ void CGameContext::ConForceVote(IConsole::IResult *pResult, void *pUserData)
{ {
if(str_comp_nocase(pValue, pOption->m_aDescription) == 0) if(str_comp_nocase(pValue, pOption->m_aDescription) == 0)
{ {
str_format(aBuf, sizeof(aBuf), "authroized player forced server option '%s' (%s)", pValue, pReason); str_format(aBuf, sizeof(aBuf), "authorized player forced server option '%s' (%s)", pValue, pReason);
pSelf->SendChatTarget(-1, aBuf, CHAT_SIX); pSelf->SendChatTarget(-1, aBuf, CHAT_SIX);
pSelf->Console()->ExecuteLine(pOption->m_aCommand); pSelf->Console()->ExecuteLine(pOption->m_aCommand);
break; break;