1.1 --- a/core-legacy/concommands.cpp Mon Nov 24 04:13:35 2008 -0600
1.2 +++ b/core-legacy/concommands.cpp Mon Nov 24 07:25:46 2008 -0600
1.3 @@ -203,10 +203,11 @@
1.4
1.5 return;
1.6 } else if (strcmp(command, "refresh") == 0) {
1.7 - char full_path[255];
1.8 - g_SmmAPI.PathFormat(full_path, sizeof(full_path), "%s/%s", g_ModPath.c_str(), GetPluginsFile());
1.9 + char filepath[PATH_SIZE], vdfpath[PATH_SIZE];
1.10 + g_SmmAPI.PathFormat(filepath, sizeof(filepath), "%s/%s", g_ModPath.c_str(), GetPluginsFile());
1.11 + g_SmmAPI.PathFormat(vdfpath, sizeof(vdfpath), "%s/%s", g_ModPath.c_str(), GetMetamodBaseDir());
1.12
1.13 - LoadPluginsFromFile(full_path);
1.14 + LoadPlugins(filepath, vdfpath);
1.15
1.16 return;
1.17 } else if (strcmp(command, "list") == 0) {
1.18 @@ -641,7 +642,7 @@
1.19 CONMSG(" list - List plugins\n");
1.20 CONMSG(" load - Load a plugin\n");
1.21 CONMSG(" pause - Pause a running plugin\n");
1.22 - CONMSG(" refresh - Reparse plugins file\n");
1.23 + CONMSG(" refresh - Reparse plugin files\n");
1.24 CONMSG(" retry - Attempt to reload a plugin\n");
1.25 CONMSG(" unload - Unload a loaded plugin\n");
1.26 CONMSG(" unpause - Unpause a paused plugin\n");