mirror of
https://github.com/jlu5/SupyPlugins.git
synced 2025-04-27 05:21:10 -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."""
|
If --count is specified, only the amount of users in the relay is given."""
|
||||||
opts = dict(optlist)
|
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)
|
irc.error('This command cannot be nested.', Raise=True)
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user