]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/menu/xonotic/serverlist.c
Don't save slowmo to config.cfg file (seta -> set in defaultXonotic.cfg)
[xonotic/xonotic-data.pk3dir.git] / qcsrc / menu / xonotic / serverlist.c
index c63e1c765016e04e002ede9f4c5badf7e75dfaf4..f02d747cc91f1f0e229c56074c217dc2609e2c5e 100644 (file)
@@ -288,7 +288,8 @@ void XonoticServerList_refreshServerList(entity me, float mode)
                // server banning
                n = tokenizebyseparator(_Nex_ExtResponseSystem_BannedServers, " ");
                for(i = 0; i < n; ++i)
-                       sethostcachemaskstring(++m, SLIST_FIELD_CNAME, argv(i), SLIST_TEST_NOTEQUAL);
+                       if(argv(i) != "")
+                               sethostcachemaskstring(++m, SLIST_FIELD_CNAME, argv(i), SLIST_TEST_NOTSTARTSWITH);
 
                m = SLIST_MASK_OR - 1;
                if(s != "")