From 66d450130315399d8960e45d61ba3b098e9e93f0 Mon Sep 17 00:00:00 2001 From: Mark Veidemanis Date: Sat, 21 Apr 2018 14:44:07 +0100 Subject: [PATCH] Fix another typo --- commands/enable.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/enable.py b/commands/enable.py index 9078815..3fc7a2d 100644 --- a/commands/enable.py +++ b/commands/enable.py @@ -8,7 +8,7 @@ class Enable: def enable(self, addr, authed, data, obj, spl, success, failure, info, incUsage, length): if authed: if length == 2: - if not spl[1] in pool.keys(): + if not spl[1] in main.pool.keys(): failure("Name does not exist: %s" % spl[1]) return main.pool[spl[1]]["enabled"] = True