Fixed lots of raised exceptions because I had the wrong number of arguments.

This commit is contained in:
Jeremy Fincher 2003-11-21 15:32:14 +00:00
parent b3aade6984
commit e9b81580a4

View File

@ -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: