From 690bf93676eec8fd84136360d7473b49aa0a27c5 Mon Sep 17 00:00:00 2001 From: Mark Veidemanis Date: Tue, 21 Apr 2020 23:32:17 +0100 Subject: [PATCH] Fix variable scope in LIST error handling --- core/bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/bot.py b/core/bot.py index 879a9a1..2ba40ff 100644 --- a/core/bot.py +++ b/core/bot.py @@ -439,7 +439,7 @@ class IRCBot(IRCClient): self._tempList[1].clear() if noResults: if self.listRetried: - warn("LIST still empty after retry: %s - %i" % (net, num)) + warn("LIST still empty after retry: %s - %i" % (self.net, self.num)) self.listRetried = False return else: