partially revert e652a8156c
and readd time.sleep(1) delay between operations, irc3 flood settings do not appear to prevent the bot from flooding itself off :(
This commit is contained in:
parent
00af109e2f
commit
9d61e554c0
|
@ -1,5 +1,6 @@
|
||||||
import logging
|
import logging
|
||||||
import re
|
import re
|
||||||
|
import time
|
||||||
|
|
||||||
import irc3
|
import irc3
|
||||||
from django.conf import settings
|
from django.conf import settings
|
||||||
|
@ -309,6 +310,9 @@ class Plugin(object):
|
||||||
# also add autoinvite for this username
|
# also add autoinvite for this username
|
||||||
self.bot.mode(channel, "+I", "$a:%s" % username)
|
self.bot.mode(channel, "+I", "$a:%s" % username)
|
||||||
|
|
||||||
|
# add a delay so the bot doesn't flood itself off, irc3 antiflood settings do not help here, why?
|
||||||
|
time.sleep(1)
|
||||||
|
|
||||||
@irc3.extend
|
@irc3.extend
|
||||||
def fix_missing_acls(self):
|
def fix_missing_acls(self):
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Reference in a new issue