]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/notifications/all.qh
Logging: tidy
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / notifications / all.qh
index aea0ccd628c91af67f21810bd75a0c3e8dc3c882..36bf248eb68ea71f6c06e6aacaac4987c42235c8 100644 (file)
@@ -6,6 +6,10 @@
 #include <common/teams.qh>
 #include <common/util.qh>
 
+#ifdef CSQC
+#include <client/autocvars.qh>
+#endif
+
 /** main types/groups of notifications */
 ENUMCLASS(MSG)
        /** "Global" AND "personal" announcer messages */
@@ -192,7 +196,7 @@ GENERIC_COMMAND(dumpnotifs, "Dump all notifications into notifications_dump.txt"
                default:
                case CMD_REQUEST_USAGE:
                {
-                       LOG_INFO(strcat("\nUsage:^3 ", GetProgramCommandPrefix(), " dumpnotifs [filename]"));
+                       LOG_INFO("Usage:^3 ", GetProgramCommandPrefix(), " dumpnotifs [filename]");
                        LOG_INFO("  Where 'filename' is the file to write (default is notifications_dump.cfg),\n");
                        LOG_INFO("  if supplied with '-' output to console as well as default,\n");
                        LOG_INFO("  if left blank, it will only write to default.\n");