]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/miscfunctions.qc
Allow customising the delimiter of IPV6 IPs in the game log's join message, so script...
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / miscfunctions.qc
index 7f852782c18f1b49c04fd8c05eb07b5041d4695a..fb0ef23538fb0a804534b335b2612d0f894b53b1 100644 (file)
@@ -84,6 +84,11 @@ void dedicated_print(string input)
        if (server_is_dedicated) print(input);
 }
 
+string GameLog_ProcessIP(string s)
+{
+       return strreplace(":", autocvar_sv_eventlog_ipv6_delimiter, s);
+}
+
 void GameLogEcho(string s)
 {
     string fn;