Added a missing execute_cmd on the Session. It got lost after the inputfunc changes.
This commit is contained in:
parent
8bf63885e2
commit
68e5c4d283
3 changed files with 26 additions and 6 deletions
|
|
@ -424,11 +424,10 @@ class DefaultObject(with_metaclass(TypeclassBase, ObjectDB)):
|
|||
|
||||
def execute_cmd(self, raw_string, session=None, **kwargs):
|
||||
"""
|
||||
Do something as this object. This method is a copy of the
|
||||
`execute_cmd` method on the session. This is never called
|
||||
normally, it's only used when wanting specifically to let an
|
||||
object be the caller of a command. It makes use of nicks of
|
||||
eventual connected players as well.
|
||||
Do something as this object. This is never called normally,
|
||||
it's only used when wanting specifically to let an object be
|
||||
the caller of a command. It makes use of nicks of eventual
|
||||
connected players as well.
|
||||
|
||||
Args:
|
||||
raw_string (string): Raw command input
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue