diff options
Diffstat (limited to 'modules')
-rw-r--r-- | modules/tracking.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/tracking.py b/modules/tracking.py index 6724867..b00e9fe 100644 --- a/modules/tracking.py +++ b/modules/tracking.py @@ -247,11 +247,11 @@ class Module: return mode = args[0] - if mode.lower() in ('start', 'stop', 'status'): + if mode.lower() in ('start', 'add', 'stop', 'status'): if len(args) < 2 and mode.lower() != 'status': self.irc.msg(channel if not channel == self.irc.nickname else nick.split('!')[0], usage) return - if mode.lower() == 'start': + if mode.lower() in ('start', 'add'): code = args[1] label = ' '.join(args[2:]) if len(args) > 2 else '' else: @@ -264,7 +264,7 @@ class Module: label = ' '.join(args[2:]) msg = None - if mode.lower() == 'start': + if mode.lower() in ('start', 'add'): msg = self.track_start(code, label, nick.split('!')[0], channel if not channel == self.irc.nickname else None) elif mode.lower() == 'stop': msg = self.track_stop(code, nick.split('!')[0], channel if not channel == self.irc.nickname else None) |