Fix 'chat' userinfo not getting cleared, etc

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5441 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2019-03-29 06:16:20 +00:00
parent 15faeb2e77
commit 8dc9a9a117

View file

@ -6168,7 +6168,7 @@ const char *InfoBuf_BlobForKey (infobuf_t *info, const char *key, size_t *blobsi
return info->keys[k].value;
}
if (large)
*large = InfoBuf_NeedsEncoding(key, sizeof(key));
*large = InfoBuf_NeedsEncoding(key, strlen(key));
*blobsize = 0;
return NULL;
}