From 50b072170fb762e808ed9f2be72d4a9aa7b062f2 Mon Sep 17 00:00:00 2001 From: Griatch Date: Wed, 24 Sep 2014 15:45:46 +0200 Subject: [PATCH] Some cleanup and updates of the object.py file. --- src/objects/objects.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/objects/objects.py b/src/objects/objects.py index 5fa5ef5d12..7374a1d4ca 100644 --- a/src/objects/objects.py +++ b/src/objects/objects.py @@ -101,7 +101,7 @@ class Object(TypeClass): attribute_name=None, use_nicks=True, location=None, quiet=False, exact=False) execute_cmd(raw_string) - msg(message, **kwargs) + msg(text=None, from_obj=None, sessid=0, **kwargs) msg_contents(message, exclude=None, from_obj=None, **kwargs) move_to(destination, quiet=False, emit_to_obj=None, use_destination=True, to_none=False) @@ -341,7 +341,7 @@ class Object(TypeClass): default to self.sessid or from_obj.sessid. """ - self.dbobj.msg(text=text, **kwargs) + self.dbobj.msg(text=text, from_obj=from_obj, sessid=sessid, **kwargs) def msg_contents(self, text=None, exclude=None, from_obj=None, **kwargs): """