]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - cvar.c
net_slist_favorites: allow DNS names in the list (they are resolved whenever the...
[xonotic/darkplaces.git] / cvar.c
diff --git a/cvar.c b/cvar.c
index b9ba7dd60eece5adab52a172feff80a39e799765..75ff70f44ad1242b7d2b630190d79b756d49605e 100644 (file)
--- a/cvar.c
+++ b/cvar.c
@@ -302,6 +302,8 @@ void Cvar_SetQuick_Internal (cvar_t *var, const char *value)
                        if(!var->integer)
                                Cvar_Set("rcon_password", "");
                }
+               else if (!strcmp(var->name, "net_slist_favorites"))
+                       NetConn_UpdateFavorites();
        }
 }