diff --git a/plugins/Enforcer.py b/plugins/Enforcer.py index 0dd8bdee7..c84926a41 100644 --- a/plugins/Enforcer.py +++ b/plugins/Enforcer.py @@ -52,9 +52,12 @@ class Enforcer(callbacks.Privmsg): def startenforcer(self, irc, msg, args): """[ ]""" self.topics = {} - (chanserv, revenge) = privmsgs.getArgs(args, needed=0, optional=2) + (chanserv, revenge, topicPrefix) = \ + privmsgs.getArgs(args, needed=0, optional=3) self.chanserv = chanserv or 'ChanServ' self.started = True + self.topicPrefix = topicPrefix + revenge = revenge.capitalize() if revenge == 'True' or revenge == '': self.revenge = True elif revenge == 'False':