From 3b917e72219ae007a963e91edbfee95c973b9c7f Mon Sep 17 00:00:00 2001 From: James Lu Date: Sat, 29 May 2021 13:22:23 -0700 Subject: [PATCH] RelayNext: fix undefined variable --- RelayNext/plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RelayNext/plugin.py b/RelayNext/plugin.py index db55b91..5d7f3ca 100644 --- a/RelayNext/plugin.py +++ b/RelayNext/plugin.py @@ -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: