Kunal Mehta hace 13 años
padre
commit
2c0c5b4871
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. +2
    -2
      earwigbot/commands/lag.py

+ 2
- 2
earwigbot/commands/lag.py Ver fichero

@@ -24,7 +24,7 @@ from earwigbot import exceptions
from earwigbot.commands import Command from earwigbot.commands import Command


class Lag(Command): class Lag(Command):
"""Return the replag for a specific database on the Toolserver."""
"""Return the replag for a specific database on Labs."""
name = "lag" name = "lag"
commands = ["lag", "replag", "maxlag"] commands = ["lag", "replag", "maxlag"]


@@ -45,7 +45,7 @@ class Lag(Command):
self.reply(data, msg) self.reply(data, msg)


def get_replag(self, site): def get_replag(self, site):
return "Toolserver replag is {0}".format(self.time(site.get_replag()))
return "Labs replag is {0}".format(self.time(site.get_replag()))


def get_maxlag(self, site): def get_maxlag(self, site):
return "database maxlag is {0}".format(self.time(site.get_maxlag())) return "database maxlag is {0}".format(self.time(site.get_maxlag()))


Cargando…
Cancelar
Guardar