From aa21efcd20fd95fbcdf65f008917361fe9aa203c Mon Sep 17 00:00:00 2001 From: Adam Gibson Date: Tue, 21 Jul 2020 15:03:29 +0100 Subject: [PATCH] Fixes #621. Adds +B to joinmarket IRC bots. --- jmdaemon/jmdaemon/irc.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/jmdaemon/jmdaemon/irc.py b/jmdaemon/jmdaemon/irc.py index c91fb83..5fdd8ab 100644 --- a/jmdaemon/jmdaemon/irc.py +++ b/jmdaemon/jmdaemon/irc.py @@ -265,6 +265,9 @@ class txIRC_Client(irc.IRCClient, object): def joined(self, channel): wlog("INFO", "joined: " + str(channel) + " " + str(self.hostname)) + # for admin purposes, IRC servers *usually* require bots to identify + # themselves as such: + self.sendLine("MODE " + self.nickname + " +B") #Use as trigger for start to mcc: reactor.callLater(0.0, self.wrapper.on_welcome, self.wrapper)