Revert curly braces fix - Griatch did it better

This commit is contained in:
BlauFeuer 2016-09-09 09:23:44 -04:00 committed by Griatch
parent dd840ba05b
commit ad8d105795

View file

@ -796,8 +796,7 @@ class CmdEmote(RPCommand): # replaces the main emote
self.caller.msg("What do you want to do?")
else:
# we also include ourselves here.
emote = self.args.replace('{', '{{') # Escape open curly brace in later formatting.
emote = emote.replace('}', '}}') # Also escape close curly brace.
emote = self.args
targets = self.caller.location.contents
if not emote.endswith((".", "?", "!")): # If emote is not punctuated,
emote = "%s." % emote # add a full-stop for good measure.