]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Clean up checkargs a little bit
authorSamual Lenks <samual@xonotic.org>
Sat, 24 Aug 2013 20:12:54 +0000 (16:12 -0400)
committerSamual Lenks <samual@xonotic.org>
Sat, 24 Aug 2013 20:12:54 +0000 (16:12 -0400)
qcsrc/common/notifications.qc

index fc9137db9819514b265937f7a8499b5c729f2726..70a7fc1e1e8550c92475521ffab9d4292935276d 100644 (file)
@@ -105,15 +105,18 @@ string Notification_CheckArgs(
                
                case NOTIF_TEAM:
                {
-                       if not(teamplay) { checkargs = sprintf("%sTeamplay not active!", checkargs); }
+                       if not(teamplay)
+                               { checkargs = sprintf("%sTeamplay not active!", checkargs); }
                        //else if not(client.team) { checkargs = sprintf("%sNo team provided!", checkargs); }
                        break;
                }
                
                case NOTIF_TEAM_EXCEPT:
                {
-                       if not(teamplay) { checkargs = sprintf("%sTeamplay not active!", checkargs); }
-                       else if(IS_NOT_A_CLIENT(client)) { checkargs = sprintf("%sException can't be a non-client!", checkargs); }
+                       if not(teamplay)
+                               { checkargs = sprintf("%sTeamplay not active!", checkargs); }
+                       else if(IS_NOT_A_CLIENT(client))
+                               { checkargs = sprintf("%sException can't be a non-client!", checkargs); }
                        break;
                }