diff --git a/modules/pawserv.py b/modules/pawserv.py index 0c25f57..7dd952c 100644 --- a/modules/pawserv.py +++ b/modules/pawserv.py @@ -37,7 +37,10 @@ class IRCatModule: print("PawServ loaded!") def command(self, command, args, ip, nick, connection, user): try: - if command == "NICKSERV" or (command == "PRIVMSG" and args[0].lower() == "nickserv"): + if command == "NICKSERV" or (command == "PRIVMSG" and args[0].lower() == "nickserv") or command == "PASS": + if command == "PASS": + command = "NICKSERV" + args = ["IDENTIFY", args[1]] if command == "PRIVMSG": args = args[1:] args[0] = args[0][1:] if args[0][0] == ":" else args[0]