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

This commit is contained in:
Nova Cat 2025-01-21 19:46:13 -08:00
parent 53d64a7e0d
commit 01fec7370b

View file

@ -28,7 +28,7 @@ class IRCatModule:
if command == "PRIVMSG":
args = args[1:]
args[0] = args[0][1:] if args[0][0] == ":" else args[0]
if args[0].lower() == "identify":
if len(args) > 0 and args[0].lower() == "identify":
connection.sendall(bytes(f":NickServ!Meow@PawServ NOTICE {nick} :Feature not implemented in PawServ plugin yet.\r\n", "UTF-8"))
else:
connection.sendall(bytes(f":NickServ!Meow@PawServ NOTICE {nick} :NickServ Usage:\r\n","UTF-8"))