From: Mario Date: Thu, 3 Dec 2020 14:15:23 +0000 (+1000) Subject: Remove a redundant real client check from notification code X-Git-Tag: xonotic-v0.8.5~653 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=ea0420698191b48825f5a3b9513aa1e7b234014b;p=xonotic%2Fxonotic-data.pk3dir.git Remove a redundant real client check from notification code --- diff --git a/qcsrc/common/notifications/all.qc b/qcsrc/common/notifications/all.qc index 6038e6df8..358453e5c 100644 --- a/qcsrc/common/notifications/all.qc +++ b/qcsrc/common/notifications/all.qc @@ -1637,7 +1637,7 @@ void Send_Notification( } default: { - FOREACH_CLIENT(IS_REAL_CLIENT(it) && Notification_ShouldSend(broadcast, it, client), { + FOREACH_CLIENT(Notification_ShouldSend(broadcast, it, client), { RECURSE_FROM_CHOICE(it, continue); }); break;