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