mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-02 17:29:22 +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):
|
def startenforcer(self, irc, msg, args):
|
||||||
"""[<CHANSERV> <revenge> <topicPrefix>]"""
|
"""[<CHANSERV> <revenge> <topicPrefix>]"""
|
||||||
self.topics = {}
|
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.chanserv = chanserv or 'ChanServ'
|
||||||
self.started = True
|
self.started = True
|
||||||
|
self.topicPrefix = topicPrefix
|
||||||
|
revenge = revenge.capitalize()
|
||||||
if revenge == 'True' or revenge == '':
|
if revenge == 'True' or revenge == '':
|
||||||
self.revenge = True
|
self.revenge = True
|
||||||
elif revenge == 'False':
|
elif revenge == 'False':
|
||||||
|
Loading…
Reference in New Issue
Block a user