Pass at_before_say the corrent number of arguments

This commit is contained in:
amfl 2017-10-03 19:38:25 +13:00
parent 39a7eb9b11
commit 75ad8d843d

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