0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2025-01-13 16:33:53 +01:00

parse: check IsServer() before firing off a remove_unknowns() call

This commit is contained in:
William Pitcock 2016-03-20 06:40:54 -05:00
parent 4f5056dd83
commit 5a5f173daa

View file

@ -107,7 +107,7 @@ parse(struct Client *client_p, char *pbuffer, char *bufend)
return;
}
if (msgbuf.origin != NULL)
if (msgbuf.origin != NULL && IsServer(client_p))
{
from = find_client(msgbuf.origin);