summaryrefslogtreecommitdiff
path: root/server_logic.lua
diff options
context:
space:
mode:
Diffstat (limited to 'server_logic.lua')
-rw-r--r--server_logic.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/server_logic.lua b/server_logic.lua
index 4c6c229..02f6718 100644
--- a/server_logic.lua
+++ b/server_logic.lua
@@ -7,7 +7,7 @@ local ping_interval = 6
M.ping_interval = ping_interval
local debug_mode = true
-function debug(...)
+local function debug(...)
if debug_mode then print(...) end
end
@@ -76,7 +76,7 @@ local client_metatable = {
}
}
-function try_room(r)
+local function try_room(r)
if activerooms[r] then return activerooms[r] end
local res = {
users = {},
@@ -125,4 +125,4 @@ function M.ping(s)
client:ping()
end
-return M \ No newline at end of file
+return M