mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 13:19:24 +01:00
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
Block a user