From 1c2479d9fa037995d9175c3643efe35a9c694443 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Mon, 19 Mar 2018 13:21:42 +0100 Subject: logbot.py: wait 10sec for registration to be applied before joining the channels --- logbot.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/logbot.py b/logbot.py index 8ae09cb..1178008 100755 --- a/logbot.py +++ b/logbot.py @@ -38,7 +38,7 @@ import os import ftplib import sys import itertools -from time import strftime +from time import strftime,sleep try: from datetime import datetime from pytz import timezone @@ -366,6 +366,7 @@ class Logbot(SingleServerIRCBot): """Join channels after successful connection""" if self.nick_pass: c.privmsg("nickserv", "identify %s" % self.nick_pass) + sleep(10) for chan in self.chans: c.join(chan) -- cgit v1.2.3-70-g09d2