1
mirror of git://git.acid.vegas/IRCP.git synced 2024-11-22 07:56:42 +00:00

Forgot to use fstrings on nickserv email (fixed)

This commit is contained in:
Dionysus 2023-05-28 15:02:13 -04:00
parent f659c4c362
commit 9871e08cf4
Signed by: acidvegas
GPG Key ID: EF4B922DB85DC9DE

View File

@ -192,7 +192,7 @@ class probe:
await asyncio.sleep(throttle.delay)
login = {
'pass': settings.ns_pass if settings.ns_pass else rndnick(),
'mail': settings.ns_mail if settings.ns_mail else '{rndnick()}@{rndnick()}.'+random.choice(('com','net','org'))
'mail': settings.ns_mail if settings.ns_mail else f'{rndnick()}@{rndnick()}.'+random.choice(('com','net','org'))
}
for command in ('ADMIN', 'VERSION', 'LINKS', 'MAP', 'PRIVMSG NickServ :REGISTER {0} {1}'.format(login['pass'], login['mail']), 'LIST'):
try: