mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-20 17:53:03 +01:00
We shouldn't try to get ChannelValues when not given a channel.
This commit is contained in:
parent
40f63858b0
commit
ca8100605c
@ -1154,7 +1154,7 @@ class Privmsg(irclib.IrcCallback):
|
||||
names = registry.split(name)
|
||||
for name in names:
|
||||
group = group.get(name)
|
||||
if channel is not None:
|
||||
if channel is not None and ircutils.isChannel(channel):
|
||||
group = group.get(channel)
|
||||
if value:
|
||||
return group()
|
||||
|
Loading…
Reference in New Issue
Block a user