Update modules/pawserv.py
All checks were successful
/ check (push) Successful in 25s

This commit is contained in:
Nova Cat 2025-01-24 18:33:45 -08:00
parent 5a088bc572
commit fbec969db9

View file

@ -45,7 +45,7 @@ class IRCatModule:
if len(args) == 3:
if args[1].lower() in self.memory:
if args[2] == self.memory[args[1].lower()][0]:
self.sql.nickserv_register(nick=args[1].lower(), password=self.memory[args[1]][1], email=self.memory[args[1]][2])
self.sql.nickserv_register(nick=args[1].lower(), password=self.memory[args[1].lower()][1], email=self.memory[args[1].lower()][2])
nck = args[1].lower()
connection.sendall(bytes(f":NickServ!Meow@PawServ NOTICE {nick} :Done, you may now identify as {nck}.\r\n", "UTF-8"))
del self.memory[args[1].lower()]