mirror of https://github.com/Mikaela/Limnoria.git
Fixed something, although by now I forget what it was. Ah, the doTopic stuff. Yeah, I fixed that.
This commit is contained in:
parent
339375bc42
commit
f719009e1d
|
@ -52,9 +52,12 @@ class Enforcer(callbacks.Privmsg):
|
|||
def startenforcer(self, irc, msg, args):
|
||||
"""[<CHANSERV> <revenge> <topicPrefix>]"""
|
||||
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':
|
||||
|
|
Loading…
Reference in New Issue