diff --git a/fteqtv/parse.c b/fteqtv/parse.c index 637669bcf..ac9ae71c3 100644 --- a/fteqtv/parse.c +++ b/fteqtv/parse.c @@ -301,7 +301,7 @@ static void ParseStufftext(sv_t *tv, netmsg_t *m, int to, unsigned int mask) } Info_SetValueForStarKey(tv->serverinfo, "hostname", text, sizeof(tv->serverinfo)); - if (tv->controller && tv->controller->netchan.isnqprotocol == false)) + if (tv->controller && (tv->controller->netchan.isnqprotocol == false)) SendBufferToViewer(tv->controller, (char*)m->data+m->startpos, m->readpos - m->startpos, true); return; } diff --git a/fteqtv/source.c b/fteqtv/source.c index 4b5ce1f5f..19ceca4eb 100644 --- a/fteqtv/source.c +++ b/fteqtv/source.c @@ -686,7 +686,6 @@ int SV_SayToUpstream(sv_t *qtv, char *message) void SV_SayToViewers(sv_t *qtv, char *message) { - viewer_t *v; Fwd_SayToDownstream(qtv, message); #ifndef _MSC_VER #warning Send to viewers here too