From efded33f4a86ee08c44f8eab9d108384ec07935f Mon Sep 17 00:00:00 2001 From: James Lu Date: Mon, 30 Jan 2017 00:08:40 -0800 Subject: [PATCH] stats: oops, use the right Irc object --- plugins/stats.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/stats.py b/plugins/stats.py index cebdb9d..637a9e0 100644 --- a/plugins/stats.py +++ b/plugins/stats.py @@ -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)) ) )