mirror of
https://github.com/jlu5/SupyPlugins.git
synced 2025-04-26 04:51:08 -05:00
RelayNext: fix undefined variable
This commit is contained in:
parent
c772ed1316
commit
3b917e7221
@ -399,7 +399,7 @@ class RelayNext(callbacks.Plugin):
|
||||
If --count is specified, only the amount of users in the relay is given."""
|
||||
opts = dict(optlist)
|
||||
|
||||
if irc.nested and 'count' not in keys:
|
||||
if irc.nested and 'count' not in opts:
|
||||
irc.error('This command cannot be nested.', Raise=True)
|
||||
|
||||
try:
|
||||
|
Loading…
x
Reference in New Issue
Block a user