Ver código fonte

ignore maxlag on IRC commands, because these are started explicitly by users

tags/v0.1^2
Ben Kurtovic 13 anos atrás
pai
commit
953527e473
3 arquivos alterados com 3 adições e 0 exclusões
  1. +1
    -0
      bot/commands/afc_report.py
  2. +1
    -0
      bot/commands/afc_status.py
  3. +1
    -0
      bot/commands/rights.py

+ 1
- 0
bot/commands/afc_report.py Ver arquivo

@@ -11,6 +11,7 @@ class Command(BaseCommand):

def process(self, data):
self.site = wiki.get_site()
self.site._maxlag = None
self.data = data

if not data.args:


+ 1
- 0
bot/commands/afc_status.py Ver arquivo

@@ -27,6 +27,7 @@ class Command(BaseCommand):

def process(self, data):
self.site = wiki.get_site()
self.site._maxlag = None

if data.line[1] == "JOIN":
notice = self.get_join_notice()


+ 1
- 0
bot/commands/rights.py Ver arquivo

@@ -20,6 +20,7 @@ class Command(BaseCommand):

username = ' '.join(data.args)
site = wiki.get_site()
site._maxlag = None
user = site.get_user(username)
try:


Carregando…
Cancelar
Salvar