mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-23 19:19:32 +01:00
Fixed lots of raised exceptions because I had the wrong number of arguments.
This commit is contained in:
parent
b3aade6984
commit
e9b81580a4
@ -92,7 +92,7 @@ class Enforcer(callbacks.Privmsg, plugins.Configurable):
|
||||
aspect of Services (it defaults to ChanServ).
|
||||
"""
|
||||
self.topics = {}
|
||||
chanserv = privmsgs.getArgs(args, required=0, optional=2)
|
||||
chanserv = privmsgs.getArgs(args, required=0, optional=1)
|
||||
self.chanserv = chanserv or 'ChanServ'
|
||||
self.started = True
|
||||
for channel in irc.state.channels:
|
||||
|
Loading…
Reference in New Issue
Block a user