]> git.stg.codes - stg.git/blobdiff - projects/stargazer/plugins/other/smux/smux.cpp
Code deduplication
[stg.git] / projects / stargazer / plugins / other / smux / smux.cpp
index 14f47da3c5e5b21b2f11b9e0a4d3d6fba2982ed6..0cf56ff80cdc1a7c7d3ef2ed457673e847f0ca38 100644 (file)
@@ -34,22 +34,6 @@ PLUGIN * GetPlugin()
 return sac.GetPlugin();
 }
 
-int ParseIntInRange(const std::string & str,
-                    int min,
-                    int max,
-                    int * val)
-{
-if (str2x(str.c_str(), *val))
-    {
-    return -1;
-    }
-if (*val < min || *val > max)
-    {
-    return -1;
-    }
-return 0;
-}
-
 SMUX_SETTINGS::SMUX_SETTINGS()
     : ip(0),
       port(0)