From 01fec7370b465b2a1da4ccb7e83a6877b0d17192 Mon Sep 17 00:00:00 2001 From: swee Date: Tue, 21 Jan 2025 19:46:13 -0800 Subject: [PATCH] Update modules/pawserv.py --- modules/pawserv.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/pawserv.py b/modules/pawserv.py index 9f3b6a1..bfc25d4 100644 --- a/modules/pawserv.py +++ b/modules/pawserv.py @@ -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"))