From a40716a33d8175924d44b60b8d380e6070be408a Mon Sep 17 00:00:00 2001 From: swee Date: Tue, 21 Jan 2025 21:00:41 -0800 Subject: [PATCH] Update modules/pawserv.py --- modules/pawserv.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/pawserv.py b/modules/pawserv.py index b1e2b5c..e0c1b41 100644 --- a/modules/pawserv.py +++ b/modules/pawserv.py @@ -66,7 +66,8 @@ class IRCatModule: else: connection.sendall(bytes(f":NickServ!Meow@PawServ NOTICE {nick} :Needs 3 arguments, nickname, password, and email.\r\n", "UTF-8")) elif len(args) > 0 and args[0].lower() == "identify": - temp = self.sql.nickserv_identify(nick=nick if len(args) == 2 else args[2], password=args[1]) + nck = nick if len(args) == 2 else args[2] + temp = self.sql.nickserv_identify(nick=nck, password=args[1]) if temp: connection.sendall(bytes(f":NickServ!Meow@PawServ NOTICE {nick} :Now, it would've been a successful identification, but this is work in progress.\r\n", "UTF-8")) else: