Look before you leap to confirming registrations

This commit is contained in:
Mark Veidemanis 2022-08-18 07:20:30 +01:00
parent 7ef76d1424
commit 3dfc6d736a
Signed by: m
GPG Key ID: 5ACFCEED46C0904F
1 changed files with 2 additions and 1 deletions

View File

@ -96,6 +96,7 @@ def registerAccount(net, num):
def confirmAccount(net, num, token):
sinst = substitute(net, num, token=token)
name = net + str(num)
if name in main.IRCPool:
main.IRCPool[name].msg(sinst["entity"], sinst["confirm"])
enableAuthentication(net, num)