]> git.stg.codes - stg.git/blobdiff - projects/stargazer/plugins/other/smux/smux.cpp
Ticket 26. The const MODULE_SETTINGS & ms parameter added to the int
[stg.git] / projects / stargazer / plugins / other / smux / smux.cpp
index 31b91bb390ee431b7caf1e732832012586d5bb89..d1af2dbc6c389058f9c76f4d33490f4e9da222b6 100644 (file)
@@ -272,12 +272,17 @@ printfd(__FILE__, "SMUX::Stop() - After\n");
 return 0;
 }
 
-int SMUX::Reload()
+int SMUX::Reload(const MODULE_SETTINGS & ms)
 {
 if (Stop())
     return -1;
 if (Start())
     return -1;
+if (!needReconnect)
+    {
+    printfd(__FILE__, "SMUX reconnected succesfully.\n");
+    logger("Reconnected successfully.");
+    }
 return 0;
 }