feat: "server_exists" check

This commit is contained in:
2020-08-08 06:14:17 +03:00
parent 30b35fa24e
commit bfc5e000f7
28 changed files with 111 additions and 262 deletions

View File

@ -19,6 +19,10 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
cmd_need_superuser () { false ;}
cmd_need_steamuser () { true ;}
cmd_need_installed_server () { false ;}
function cmd_usage ()
{
echo "<id>..."
@ -34,16 +38,6 @@ function cmd_help ()
echo "TODO: description"
}
function cmd_need_superuser ()
{
false
}
function cmd_need_steamuser ()
{
true
}
function cmd_main () # $*: ban list
{
include "$LibDir/ban.lib"