diff options
author | Matthew Wild <mwild1@gmail.com> | 2009-12-07 19:25:16 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2009-12-07 19:25:16 +0000 |
commit | c990578ae026a01bb9c1b0b1b0080d5a5ca952fb (patch) | |
tree | 98ffc70dff3a3433ebdb8fbc3ad6f07b5f89cf32 /net | |
parent | 0e534e4ba5b6f86f3a2d91d1450875d1b3179409 (diff) | |
download | prosody-c990578ae026a01bb9c1b0b1b0080d5a5ca952fb.tar.gz prosody-c990578ae026a01bb9c1b0b1b0080d5a5ca952fb.zip |
net.server_event: Fix closeallservers() to work correctly after the giant refactorizification
Diffstat (limited to 'net')
-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 |