fix userinfo filtering in PF_setinfokey

This commit is contained in:
Adam Olsen 2001-09-11 04:52:29 +00:00
parent 1717747eda
commit 65e5a7a4fc

View file

@ -1354,7 +1354,7 @@ PF_setinfokey (progs_t *pr)
MAX_INFO_STRING, !sv_highchars->int_val);
SV_ExtractFromUserinfo (&svs.clients[e1 - 1]);
if (Info_FilterForKey (Cmd_Argv (1), client_info_filters)) {
if (Info_FilterForKey (key, client_info_filters)) {
MSG_WriteByte (&sv.reliable_datagram, svc_setinfo);
MSG_WriteByte (&sv.reliable_datagram, e1 - 1);
MSG_WriteString (&sv.reliable_datagram, key);