summaryrefslogtreecommitdiff
path: root/server.py
diff options
context:
space:
mode:
Diffstat (limited to 'server.py')
-rwxr-xr-xserver.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/server.py b/server.py
index 87b0634..163ef18 100755
--- a/server.py
+++ b/server.py
@@ -183,6 +183,8 @@ try:
except:
traceback.print_exc()
print("[RUN] Error.")
+ elif cmd in ["status", "st"]:
+ stdout("Total clients connected: %d" % len(clients))
# TODO: Disconnect a client, disconnect all unauthed client,
# disconnect & ban all unauthed clients - all these are measures
# to manually fight a DoS