mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-23 19:22:45 +01:00
Provide a default for args.
This commit is contained in:
parent
75e53d37f3
commit
ad4fef4542
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user