Browse Source

Merge #643: Fixes #621. Adds +B to joinmarket IRC bots.

aa21efc Fixes #621. Adds +B to joinmarket IRC bots. (Adam Gibson)
master
Adam Gibson 5 years ago
parent
commit
a38e9fcc4a
No known key found for this signature in database
GPG Key ID: 141001A1AF77F20B
  1. 3
      jmdaemon/jmdaemon/irc.py

3
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)

Loading…
Cancel
Save