BlauFeuer's Bug. @Cemit/sendername not functioning.

if "sendername" in self.switches:
            message = "%s: %s" % (self.key, message)

Should read: message = "%s: %s" % (self.caller.key, message)

Not functioning as intended. Credit goes to BlauFeuer.
This commit is contained in:
CloudKeeper1 2016-04-04 22:15:25 +10:00 committed by Griatch
parent 0b3314fa20
commit bc04d5f99e

View file

@ -441,7 +441,7 @@ class CmdCemit(MuxPlayerCommand):
return
message = self.rhs
if "sendername" in self.switches:
message = "%s: %s" % (self.key, message)
message = "%s: %s" % (self.caller.key, message)
channel.msg(message)
if not "quiet" in self.switches:
string = "Sent to channel %s: %s" % (channel.key, message)