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 fc9137d..70a7fc1 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;
                }