summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xserver.py3
-rw-r--r--utils.py1
2 files changed, 2 insertions, 2 deletions
diff --git a/server.py b/server.py
index 9a068da..41e3c5b 100755
--- a/server.py
+++ b/server.py
@@ -8,7 +8,7 @@ LOG_AUTH=syslog.LOG_AUTH
from websock import WebSocketServer, WebSocket
## Local Modules
-from utils import stdout, now
+from utils import stdout, now, clients
from consts import MAX_CLIENTS, PACKET_ACK
import protocol, security, traceback
@@ -20,7 +20,6 @@ f.close()
PORT=p["PORT"]
SECURE=p["SSL"]
-clients = []
###############################################################
# Main Class
diff --git a/utils.py b/utils.py
index 895219c..5b92feb 100644
--- a/utils.py
+++ b/utils.py
@@ -119,6 +119,7 @@ class dlist(list):
Player={}
Battle={}
ApTimer={}
+clients = []
# Databases
# Load quest database