3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-11-23 19:19:31 +01:00

stats: oops, use the right Irc object

This commit is contained in:
James Lu 2017-01-30 00:08:40 -08:00
parent de99be720e
commit efded33f4a

View File

@ -55,8 +55,8 @@ def uptime(irc, source, args):
)
irc.reply("Connected to %s: \x02%s\x02 (connected on %s)" %
(network,
timediff(irc.start_ts, current_time),
time.strftime(time_format, time.gmtime(irc.start_ts))
timediff(ircobj.start_ts, current_time),
time.strftime(time_format, time.gmtime(ircobj.start_ts))
)
)