diff options
| author | 2018-09-11 18:24:34 +0100 | |
|---|---|---|
| committer | 2018-09-11 18:24:34 +0100 | |
| commit | 614f63bda31248551b8a050c0c010b2aae3a5e6b (patch) | |
| tree | 2e6c3f3ab610dfc658081ef0fbc6249f521c87e8 /IRCBot.py | |
| parent | Utils.irc_lower and Utils.irc_equals take an IRCServer parameter (diff) | |
| signature | ||
Remove boot_time from stats.py, move it to start_time in IRCBot otherwise a
module reload of stats.py would reset !uptime
Diffstat (limited to 'IRCBot.py')
| -rw-r--r-- | IRCBot.py | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -5,6 +5,7 @@ import ModuleManager, Timer class Bot(object): def __init__(self): + self.start_time = time.time() self.lock = threading.Lock() self.args = None self.database = None |
