From: Rudolf Polzer Date: Tue, 4 Oct 2011 13:39:36 +0000 (+0200) Subject: be more robust X-Git-Tag: xonotic-v0.6.0~40^2~94 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=0c4f032df91d03d8c6af8265099e7385cbf64222;p=xonotic%2Fxonotic-data.pk3dir.git be more robust --- diff --git a/qcsrc/menu/xonotic/serverlist.c b/qcsrc/menu/xonotic/serverlist.c index 8bd3fb1ad..f02d747cc 100644 --- a/qcsrc/menu/xonotic/serverlist.c +++ b/qcsrc/menu/xonotic/serverlist.c @@ -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_NOTSTARTSWITH); + if(argv(i) != "") + sethostcachemaskstring(++m, SLIST_FIELD_CNAME, argv(i), SLIST_TEST_NOTSTARTSWITH); m = SLIST_MASK_OR - 1; if(s != "")