Look before you leap to confirming registrations
This commit is contained in:
parent
659162ebc6
commit
7efde28d99
|
@ -96,7 +96,8 @@ def registerAccount(net, num):
|
|||
def confirmAccount(net, num, token):
|
||||
sinst = substitute(net, num, token=token)
|
||||
name = net + str(num)
|
||||
main.IRCPool[name].msg(sinst["entity"], sinst["confirm"])
|
||||
if name in main.IRCPool:
|
||||
main.IRCPool[name].msg(sinst["entity"], sinst["confirm"])
|
||||
enableAuthentication(net, num)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue