瀏覽代碼

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

tags/v0.1^2
Ben Kurtovic 13 年之前
父節點
當前提交
953527e473
共有 3 個檔案被更改,包括 3 行新增0 行删除
  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 查看文件

@@ -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 查看文件

@@ -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 查看文件

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

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


Loading…
取消
儲存