mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-21 02:02:53 +01:00
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
Block a user