Merge pull request #1464 from amfl/fix-at-before-say

RPsystem contrib: Pass at_before_say the corrent number of arguments
This commit is contained in:
Griatch 2017-10-03 09:36:00 +02:00 committed by GitHub
commit 5ad10d7055

View file

@ -858,7 +858,7 @@ class CmdSay(RPCommand): # replaces standard say
return
# calling the speech hook on the location
speech = caller.location.at_before_say(caller, self.args)
speech = caller.location.at_before_say(self.args)
# preparing the speech with sdesc/speech parsing.
speech = "/me says, \"{speech}\"".format(speech=speech)
targets = self.caller.location.contents