mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
Merge pull request #119 from XXLTomate/ddracePullMuteIDFix
MutID fix Same as last merge I just clicked the link on github
This commit is contained in:
commit
fcf6a1dad5
|
@ -345,7 +345,7 @@ void CGameContext::ConMuteID(IConsole::IResult *pResult, void *pUserData)
|
|||
NETADDR Addr;
|
||||
pSelf->Server()->GetClientAddr(Victim, &Addr);
|
||||
|
||||
pSelf->Mute(pResult, &Addr, clamp(pResult->GetInteger(0), 1, 86400), pSelf->Server()->ClientName(Victim));
|
||||
pSelf->Mute(pResult, &Addr, clamp(pResult->GetInteger(1), 1, 86400), pSelf->Server()->ClientName(Victim));
|
||||
}
|
||||
|
||||
// mute through ip, arguments reversed to workaround parsing
|
||||
|
|
Loading…
Reference in a new issue