mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-20 17:53:03 +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:
|
||||
return group()
|
||||
else:
|
||||
assert ircutils.isChannel(channel)
|
||||
return group.get(channel)()
|
||||
|
||||
###
|
||||
|
Loading…
Reference in New Issue
Block a user