Removed unused function send_to_session from sessionmanager (send_to_session replaced by session.send)

Sun, 16 Nov 2008 05:06:38 +0500

author
Waqas Hussain <waqas20@gmail.com>
date
Sun, 16 Nov 2008 05:06:38 +0500
changeset 317
dcb5bce69a0f
parent 316
13e2bd256a20
child 320
b7a24b0ce767

Removed unused function send_to_session from sessionmanager (send_to_session replaced by session.send)

core/sessionmanager.lua file | annotate | diff | comparison | revisions
--- a/core/sessionmanager.lua	Sun Nov 16 05:03:21 2008 +0500
+++ b/core/sessionmanager.lua	Sun Nov 16 05:06:38 2008 +0500
@@ -55,11 +55,6 @@
 	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

mercurial