From 388a0bab2126a57188d60ae98e235ffe973a6e95 Mon Sep 17 00:00:00 2001 From: swee <meow@swee.codes> Date: Fri, 14 Feb 2025 23:59:20 -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 3721ac6..9c0f630 100644 --- a/modules/pawserv.py +++ b/modules/pawserv.py @@ -52,7 +52,7 @@ class IRCatModule: automodes = {} collected = None for i in query["usermodes"].split("\n"): - automodes(i.split(" ")[1]) = i.split(" ")[0] + automodes[i.split(" ")[1]] = i.split(" ")[0] oreo.append({"name": channel, "topic": topic, "automodes": automodes, "modes": query["modes"]}) return {"success": "skip", "initchan": oreo} elif command == "NICKSERV" or (command == "PRIVMSG" and args[0].lower() == "nickserv") or command == "PASS":