Rename .latency to .ping #50

This commit is contained in:
rootcoma 2013-11-07 20:15:10 -08:00
parent f17f22ab31
commit ed8d997253
1 changed files with 2 additions and 2 deletions

View File

@ -295,7 +295,7 @@ class TriviaTime(callbacks.Plugin):
irc.sendMsg(ircmsgs.privmsg(msg.args[0], infoText))
info = wrap(info)
def latency(self, irc, msg, arg):
def ping(self, irc, msg, arg):
"""
get the ping time of a user
"""
@ -312,7 +312,7 @@ class TriviaTime(callbacks.Plugin):
return
self.pings[username] = (time.time(), channel)
irc.sendMsg(ircmsgs.privmsg(username, """\x01PING ping\x01"""))
latency = wrap(latency)
ping = wrap(ping)
def me(self, irc, msg, arg):
"""