]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix prints for usage
authorSamual <samual@xonotic.org>
Thu, 29 Dec 2011 05:45:05 +0000 (00:45 -0500)
committerSamual <samual@xonotic.org>
Thu, 29 Dec 2011 05:45:05 +0000 (00:45 -0500)
qcsrc/server/command/banning.qc

index 1d142bff8d6ec395709c5f6e31c726d102d987d1..cc099d3d3c2be850ac87e1fb44069101237dcd4a 100644 (file)
@@ -21,7 +21,7 @@ void BanCommand_ban(float request, float argc)
                default:
                case CMD_REQUEST_USAGE:
                {
-                       print(strcat("\nUsage:^3 ", GetProgramCommandPrefix(), " "));
+                       print("\nUsage:^3 sv_cmd ");
                        print("  No arguments required.\n");
                        return;
                }
@@ -41,7 +41,7 @@ void BanCommand_banlist(float request)
                default:
                case CMD_REQUEST_USAGE:
                {
-                       print(strcat("\nUsage:^3 ", GetProgramCommandPrefix(), " "));
+                       print("\nUsage:^3 sv_cmd ");
                        print("  No arguments required.\n");
                        return;
                }
@@ -61,7 +61,7 @@ void BanCommand_kickban(float request, float argc)
                default:
                case CMD_REQUEST_USAGE:
                {
-                       print(strcat("\nUsage:^3 ", GetProgramCommandPrefix(), " "));
+                       print("\nUsage:^3 sv_cmd ");
                        print("  No arguments required.\n");
                        return;
                }
@@ -81,7 +81,7 @@ void BanCommand_unban(float request, float argc)
                default:
                case CMD_REQUEST_USAGE:
                {
-                       print(strcat("\nUsage:^3 ", GetProgramCommandPrefix(), " "));
+                       print("\nUsage:^3 sv_cmd ");
                        print("  No arguments required.\n");
                        return;
                }
@@ -103,7 +103,7 @@ void BanCommand_(float request)
                default:
                case CMD_REQUEST_USAGE:
                {
-                       print(strcat("\nUsage:^3 ", GetProgramCommandPrefix(), " "));
+                       print("\nUsage:^3 sv_cmd ");
                        print("  No arguments required.\n");
                        return;
                }