paritybot

A fun IRC bot.
git clone https://git.sr.ht/~jbauer/paritybot
Log | Files | Refs | README | LICENSE

commit d67f7d93ecd545284d6a028c306976a7d96334db
parent b59dcf9b45dcd436487201bea8eb0a197e1360e3
Author: Jake Bauer <jbauer@paritybit.ca>
Date:   Sun, 17 Oct 2021 01:40:02 -0400

Fix admin checking logic for +quit command

Diffstat:
Mbot.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bot.py b/bot.py @@ -190,7 +190,7 @@ class Bot: self.ircsock.close() def quit (self, incoming): - if self.is_admin(incoming): + if self.is_admin(get_user(incoming)): self.send_message("PRIVMSG " + self.get_channel(incoming) + " :*sigh* alright then...\n") self.disconnect() self.save_config()