Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/logbot.py
diff options
context:
space:
mode:
Diffstat (limited to 'logbot.py')
-rwxr-xr-xlogbot.py3
1 files changed, 2 insertions, 1 deletions
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)