aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2010-02-15 22:53:32 +0000
committerMatthew Wild <mwild1@gmail.com>2010-02-15 22:53:32 +0000
commit609442222a1190bf0b79c6f59532d963c8291d91 (patch)
treea5211a01b0610e51ddfe2dd9c08e27dbc8f9ba1d /net
parentfdcf472ada6f666a690ce73d77cf173c09fc3dc6 (diff)
downloadprosody-609442222a1190bf0b79c6f59532d963c8291d91.tar.gz
prosody-609442222a1190bf0b79c6f59532d963c8291d91.zip
net.server: Remove redundant commented code and some trailing whitespace
Diffstat (limited to 'net')
-rw-r--r--net/server.lua3
1 files changed, 1 insertions, 2 deletions
diff --git a/net/server.lua b/net/server.lua
index 0102cee6..971e1766 100644
--- a/net/server.lua
+++ b/net/server.lua
@@ -36,7 +36,6 @@ if use_luaevent then
if type(signal_id) ~= "number" then
return false, "invalid-signal";
end
- --_signal_signal(signal_id, handler);
return server.hook_signal(signal_id, handler);
end
end
@@ -47,4 +46,4 @@ end
-- require "net.server" shall now forever return this,
-- ie. server_select or server_event as chosen above.
-return server;
+return server;