mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-29 22:22:33 +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