aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWaqas Hussain <waqas20@gmail.com>2008-11-16 05:06:38 +0500
committerWaqas Hussain <waqas20@gmail.com>2008-11-16 05:06:38 +0500
commitb0bfd62708158be23e21e6a1021650b4a988dc27 (patch)
tree205938b89bb6013206007c7208f14784a64dd018
parent164a1d1c08b4c4f6a107e5e288f62d981ce37549 (diff)
downloadprosody-b0bfd62708158be23e21e6a1021650b4a988dc27.tar.gz
prosody-b0bfd62708158be23e21e6a1021650b4a988dc27.zip
Removed unused function send_to_session from sessionmanager (send_to_session replaced by session.send)
-rw-r--r--core/sessionmanager.lua5
1 files changed, 0 insertions, 5 deletions
diff --git a/core/sessionmanager.lua b/core/sessionmanager.lua
index 93ba3b84..0d65f6d6 100644
--- a/core/sessionmanager.lua
+++ b/core/sessionmanager.lua
@@ -55,11 +55,6 @@ function destroy_session(session)
end
end
-function send_to_session(session, data)
- log("debug", "Sending: %s", tostring(data));
- session.conn.write(tostring(data));
-end
-
function make_authenticated(session, username)
session.username = username;
if session.type == "c2s_unauthed" then