Explorar el Código

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

tags/v0.1^2
Ben Kurtovic hace 13 años
padre
commit
953527e473
Se han modificado 3 ficheros con 3 adiciones y 0 borrados
  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 fichero

@@ -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 fichero

@@ -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 fichero

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

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


Cargando…
Cancelar
Guardar