Fix variable scope in LIST error handling

This commit is contained in:
Mark Veidemanis 2020-04-21 23:32:17 +01:00
parent bc4d5cba8e
commit 918d410927
Signed by: m
GPG Key ID: 5ACFCEED46C0904F
1 changed files with 1 additions and 1 deletions

View File

@ -439,7 +439,7 @@ class IRCBot(IRCClient):
self._tempList[1].clear() self._tempList[1].clear()
if noResults: if noResults:
if self.listRetried: 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 self.listRetried = False
return return
else: else: