From ad4fef4542bec509c25ab550c337ad4107fde7a1 Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Sun, 12 Sep 2004 20:27:34 +0000 Subject: [PATCH] Provide a default for args. --- src/privmsgs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/privmsgs.py b/src/privmsgs.py index bf3200f66..ac172b37d 100644 --- a/src/privmsgs.py +++ b/src/privmsgs.py @@ -50,7 +50,7 @@ import supybot.ircutils as ircutils import supybot.callbacks as callbacks import supybot.structures as structures -def getChannel(msg, args, raiseError=True): +def getChannel(msg, args=(), raiseError=True): """Returns the channel the msg came over or the channel given in args. If the channel was given in args, args is modified (the channel is