Provide a default for args.

This commit is contained in:
Jeremy Fincher 2004-09-12 20:27:34 +00:00
parent 75e53d37f3
commit ad4fef4542
1 changed files with 1 additions and 1 deletions

View File

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