From e9b81580a44a6e691d68054443250e8671c2408d Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Fri, 21 Nov 2003 15:32:14 +0000 Subject: [PATCH] Fixed lots of raised exceptions because I had the wrong number of arguments. --- plugins/Enforcer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/Enforcer.py b/plugins/Enforcer.py index 114f0d32a..22e421eb3 100644 --- a/plugins/Enforcer.py +++ b/plugins/Enforcer.py @@ -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: