Fixed pose command to echo in room only if a pose is actually struck

This commit is contained in:
ploosh 2012-03-17 03:22:52 -04:00
parent 2eb5c4fc8c
commit f09bfdf1d6

View file

@ -497,9 +497,10 @@ class CmdPose(MuxCommand):
"Hook function"
if not self.args:
msg = "Do what?"
self.caller.msg(msg)
else:
msg = "%s%s" % (self.caller.name, self.args)
self.caller.location.msg_contents(msg)
self.caller.location.msg_contents(msg)
class CmdEncoding(MuxCommand):
"""