aboutsummaryrefslogtreecommitdiffstats
path: root/warmachine/addons/standup.py
diff options
context:
space:
mode:
Diffstat (limited to 'warmachine/addons/standup.py')
-rwxr-xr-x[-rw-r--r--]warmachine/addons/standup.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/warmachine/addons/standup.py b/warmachine/addons/standup.py
index adb7694..21d05e2 100644..100755
--- a/warmachine/addons/standup.py
+++ b/warmachine/addons/standup.py
@@ -330,9 +330,9 @@ class StandUpPlugin(WarMachinePlugin):
330 else: 330 else:
331 await self.standup_priv_msg(connection, u, channel) 331 await self.standup_priv_msg(connection, u, channel)
332 332
333 # schedule a function to run in 12 hours to clear out this channel from 333 # schedule a function to run in 8 hours to clear out this channel from
334 # self.users_awaiting_reply for all `users`. 334 # self.users_awaiting_reply for all `users`.
335 # This is assuming that after 12 hours, nobody cares about the report 335 # This is assuming that after the hours, nobody cares about the report
336 # from people who never reported earlier. It will prevent flooding 336 # from people who never reported earlier. It will prevent flooding
337 # "tomorrow's" response to channels whose standup is scheduled for 337 # "tomorrow's" response to channels whose standup is scheduled for
338 # later. 338 # later.
@@ -340,6 +340,10 @@ class StandUpPlugin(WarMachinePlugin):
340 self.clean_channel_from_waiting_replies, channel, 340 self.clean_channel_from_waiting_replies, channel,
341 users) 341 users)
342 342
343 # Schedule the next standup
344 self.schedule_standup(
345 connection, channel, self.standup_schedules[channel]['time24h'])
346
343 347
344 async def standup_priv_msg(self, connection, user, channel, pester=600, 348 async def standup_priv_msg(self, connection, user, channel, pester=600,
345 pester_count=0): 349 pester_count=0):