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:
Shereef Marzouk 2011-10-12 14:00:45 -07:00
commit fcf6a1dad5

View file

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