From 904dc77c80e45821e2a1f3bad2bc8b5564ff68e1 Mon Sep 17 00:00:00 2001 From: Griatch Date: Wed, 8 Jan 2014 08:47:28 +0100 Subject: [PATCH] Made some functionality fixes to @emit. --- src/commands/default/admin.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/commands/default/admin.py b/src/commands/default/admin.py index cf5b443451..36641fb52e 100644 --- a/src/commands/default/admin.py +++ b/src/commands/default/admin.py @@ -369,6 +369,7 @@ class CmdEmit(MuxCommand): # we check which command was used to force the switches if self.cmdstring == '@remit': rooms_only = True + send_to_contents = True elif self.cmdstring == '@pemit': players_only = True @@ -394,9 +395,9 @@ class CmdEmit(MuxCommand): obj.msg(message) if send_to_contents and hasattr(obj, "msg_contents"): obj.msg_contents(message) - caller.msg("Emitted to %s and its contents." % objname) + caller.msg("Emitted to %s and contents:\n%s" % (objname, message)) else: - caller.msg("Emitted to %s." % objname) + caller.msg("Emitted to %s:\n%s" % (objname, message)) else: caller.msg("You are not allowed to emit to %s." % objname)