]> 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 c5d5132b6450c1dd4bd1f3fa8e786d2a93a7cad8..d1af2dbc6c389058f9c76f4d33490f4e9da222b6 100644 (file)
@@ -272,13 +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;
-logger("Reconnected successfully.");
+if (!needReconnect)
+    {
+    printfd(__FILE__, "SMUX reconnected succesfully.\n");
+    logger("Reconnected successfully.");
+    }
 return 0;
 }