Diff

core/sessionmanager.lua @ 317:dcb5bce69a0f

Removed unused function send_to_session from sessionmanager (send_to_session replaced by session.send)
author Waqas Hussain <waqas20@gmail.com>
date Sun, 16 Nov 2008 05:06:38 +0500
parent 312:63e523629389
child 329:3be63719428e
line wrap: on
line diff
--- 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