mirror of https://github.com/Mikaela/Limnoria.git
Added an assert.
This commit is contained in:
parent
8b563876ea
commit
d31ff4532a
|
@ -117,6 +117,7 @@ def get(group, channel=None):
|
||||||
if channel is None or not group.channelValue:
|
if channel is None or not group.channelValue:
|
||||||
return group()
|
return group()
|
||||||
else:
|
else:
|
||||||
|
assert ircutils.isChannel(channel)
|
||||||
return group.get(channel)()
|
return group.get(channel)()
|
||||||
|
|
||||||
###
|
###
|
||||||
|
|
Loading…
Reference in New Issue