X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/2b09d57cf981dcdf7ff90befe75dc4f8621a5fad..d67dfa3a891c9e2bab9dff880ee568862ef3b740:/projects/stargazer/plugins/other/smux/smux.cpp diff --git a/projects/stargazer/plugins/other/smux/smux.cpp b/projects/stargazer/plugins/other/smux/smux.cpp index bcfc940e..8faccc2d 100644 --- a/projects/stargazer/plugins/other/smux/smux.cpp +++ b/projects/stargazer/plugins/other/smux/smux.cpp @@ -256,6 +256,15 @@ printfd(__FILE__, "SMUX::Stop() - After\n"); return 0; } +int SMUX::Reload() +{ +if (Stop()) + return -1; +if (Start()) + return -1; +return 0; +} + void * SMUX::Runner(void * d) { SMUX * smux = static_cast(d);