diff options
-rw-r--r-- | net/server_event.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/server_event.lua b/net/server_event.lua index 6ef0f5b1..cefac3c6 100644 --- a/net/server_event.lua +++ b/net/server_event.lua @@ -760,8 +760,8 @@ end )( ) local closeallservers = function( arg ) for _, item in ipairs( interfacelist( ) ) do - if item "type" == "server" then - item( "close", arg ) + if item.type == "server" then + item:close( arg ) end end end |