aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--warmachine/addons/standup.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/warmachine/addons/standup.py b/warmachine/addons/standup.py
index bae4029..d26567b 100644
--- a/warmachine/addons/standup.py
+++ b/warmachine/addons/standup.py
@@ -16,6 +16,7 @@ class StandUpPlugin(WarMachinePlugin):
16 !standup-add <24 hr time to kick off> 16 !standup-add <24 hr time to kick off>
17 !standup-remove 17 !standup-remove
18 Direct Message: 18 Direct Message:
19 !standup-ignore [users]
19 !standup-schedules 20 !standup-schedules
20 !standup-waiting_replies 21 !standup-waiting_replies
21 """ 22 """
@@ -128,7 +129,7 @@ class StandUpPlugin(WarMachinePlugin):
128 129
129 # ====================================================================== 130 # ======================================================================
130 # !standup-ignore 131 # !standup-ignore
131 # !standup-ignore <comma seperated list of users to ignore> 132 # !standup-ignore <space seperated list of users to ignore>
132 # 133 #
133 # Ignore users provided when private messaging asking the standup 134 # Ignore users provided when private messaging asking the standup
134 # questions. 135 # questions.
@@ -137,7 +138,7 @@ class StandUpPlugin(WarMachinePlugin):
137 elif cmd == '!standup-ignore' and channel \ 138 elif cmd == '!standup-ignore' and channel \
138 and channel in self.standup_schedules: 139 and channel in self.standup_schedules:
139 if parts: 140 if parts:
140 users_to_ignore = ''.join(parts).split(',') 141 users_to_ignore = ''.join(parts).split(' ')
141 for u in users_to_ignore: 142 for u in users_to_ignore:
142 if u not in self.standup_schedules[channel]['ignoring']: 143 if u not in self.standup_schedules[channel]['ignoring']:
143 self.log.info('Ignoring {} in channel {}'.format( 144 self.log.info('Ignoring {} in channel {}'.format(