From a65e52020cf58d29a10418cbc64c0f8a09ff3d7a Mon Sep 17 00:00:00 2001 From: Greg Taylor Date: Tue, 5 Dec 2006 22:55:52 +0000 Subject: [PATCH] Leetle tweak. --- evennia/trunk/commands_staff.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/evennia/trunk/commands_staff.py b/evennia/trunk/commands_staff.py index 508f1e6509..29a50e9da3 100644 --- a/evennia/trunk/commands_staff.py +++ b/evennia/trunk/commands_staff.py @@ -80,7 +80,7 @@ def do_teleport(cdat): # to do it sometime else. If we can find a session in the server's # session list matching the object we're teleporting, force it to # look. This is going to typically be a player. - victim_session = functions_db.session_from_object(server.session_list, victim[0]) + victim_session = functions_db.session_from_object(server.get_session_list(), victim[0]) if victim_session: # We need to form up a new cdat dictionary to pass with the command. # Kinda yucky I guess.