Remove unnecessary NULL check in whoreply()

new_w has already been checked for NULL further up the loop.
This commit is contained in:
Kevin Easton
2017-11-03 16:32:33 +11:00
parent 0703126773
commit ae4a45179e

View File

@@ -484,7 +484,7 @@ do
return; return;
} }
if (new_w && new_w->who_mask) if (new_w->who_mask)
{ {
if (new_w->who_mask & WHO_HERE) if (new_w->who_mask & WHO_HERE)
ok = ok && (*stat == 'H'); ok = ok && (*stat == 'H');