]> git.stg.codes - stg.git/blobdiff - projects/sgconf/main.cpp
Fixed crash on problems with loading plugins.
[stg.git] / projects / sgconf / main.cpp
index 97e46d1b1837365a134948288bafa97df700d22c..979081953464c40316b60c8b9708bef2098499a5 100644 (file)
@@ -25,6 +25,7 @@
 #include "users.h"
 #include "services.h"
 #include "corps.h"
+#include "info.h"
 
 #include "api_action.h"
 #include "options.h"
@@ -259,6 +260,7 @@ SGCONF::OPTION_BLOCK & block = blocks.Add("Connection options")
 blocks.Add("Debug options")
       .Add("show-config", SGCONF::MakeParamAction(config.showConfig), "\tshow config and exit");
 SGCONF::AppendXMLOptionBlock(commands, blocks);
+SGCONF::AppendServerInfoBlock(commands, blocks);
 SGCONF::AppendAdminsOptionBlock(commands, blocks);
 SGCONF::AppendTariffsOptionBlock(commands, blocks);
 SGCONF::AppendUsersOptionBlock(commands, blocks);