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

This commit is contained in:
Nova Cat 2025-01-29 20:20:08 -08:00
parent 6bdb2cb127
commit c345c7bb9a

View file

@ -40,7 +40,7 @@ class IRCatModule:
if command == "NICKSERV" or (command == "PRIVMSG" and args[0].lower() == "nickserv") or command == "PASS": if command == "NICKSERV" or (command == "PRIVMSG" and args[0].lower() == "nickserv") or command == "PASS":
if command == "PASS": if command == "PASS":
command = "NICKSERV" command = "NICKSERV"
args = ["IDENTIFY", args[1]] args = ["IDENTIFY", args[0]]
if command == "PRIVMSG": if command == "PRIVMSG":
args = args[1:] args = args[1:]
args[0] = args[0][1:] if args[0][0] == ":" else args[0] args[0] = args[0][1:] if args[0][0] == ":" else args[0]