From: Samual Lenks Date: Sat, 24 Aug 2013 20:12:54 +0000 (-0400) Subject: Clean up checkargs a little bit X-Git-Tag: xonotic-v0.8.0~341^2~12 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=c16de832ef981e989ad96dd8d22f45ff8837aa24;p=xonotic%2Fxonotic-data.pk3dir.git Clean up checkargs a little bit --- diff --git a/qcsrc/common/notifications.qc b/qcsrc/common/notifications.qc index fc9137db9..70a7fc1e1 100644 --- a/qcsrc/common/notifications.qc +++ b/qcsrc/common/notifications.qc @@ -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; }