]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Remove a redundant real client check from notification code
authorMario <zacjardine@y7mail.com>
Thu, 3 Dec 2020 14:15:23 +0000 (00:15 +1000)
committerMario <zacjardine@y7mail.com>
Thu, 3 Dec 2020 14:15:23 +0000 (00:15 +1000)
qcsrc/common/notifications/all.qc

index 6038e6df84d120a01c773489ca31bbe86e356ad1..358453e5c52094373ef1625a9bbebcc4338d1018 100644 (file)
@@ -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;