Improve authentication detection
Add a negative check in the event we are authenticated and registered, but not confirmed, as this fools other checks.
This commit is contained in:
@@ -16,8 +16,8 @@ class AuthcheckCommand:
|
||||
info("\n".join(results))
|
||||
return
|
||||
elif length == 2:
|
||||
if not spl[1] in main.IRCPool.keys():
|
||||
failure("No such instance: %s" % spl[1])
|
||||
if not spl[1] in main.network.keys():
|
||||
failure("No such network: %s" % spl[1])
|
||||
return
|
||||
results = []
|
||||
for i in main.IRCPool.keys():
|
||||
|
||||
Reference in New Issue
Block a user