bugfix courtesy of the b1g man jucks toe

This commit is contained in:
cynic 2024-07-12 04:59:10 -04:00
parent 3bac1f0bec
commit 0692b8ccb3
1 changed files with 2 additions and 0 deletions

View File

@ -78,6 +78,8 @@ class bird_inst():
def handle_avatar(self, ctx): pass def handle_avatar(self, ctx): pass
def handle_loadUsers(self, ctx): pass def handle_loadUsers(self, ctx): pass
def handle_files(self, ctx): def handle_files(self, ctx):
room = int(ctx["roomId"])
if not room in self.config["irc_chan2deekroomid"].values(): return
ctx["data"]["text"] = html.unescape(ctx["data"]["text"]) ctx["data"]["text"] = html.unescape(ctx["data"]["text"])
irc_chan = "" irc_chan = ""
for k in self.config["irc_chan2deekroomid"].keys(): for k in self.config["irc_chan2deekroomid"].keys():