Skip to content

Commit

Permalink
Add patch filter to wave commands
Browse files Browse the repository at this point in the history
  • Loading branch information
th3-z committed Oct 15, 2019
1 parent eabcbc7 commit 2612d21
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions magicked_admin/chatbot/commands/event_commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def execute(self, username, args, user_flags):

class CommandStartWaveCommand(Command):
def __init__(self, server, scheduler):
Command.__init__(self, server, admin_only=True, requires_patch=False)
Command.__init__(self, server, admin_only=True, requires_patch=True)
self.scheduler = scheduler

self.help_text = _("Usage: !start_wc [--wave] COMMAND\n"
Expand Down Expand Up @@ -108,7 +108,7 @@ def execute(self, username, args, user_flags):

class CommandStopWaveCommands(Command):
def __init__(self, server, scheduler):
Command.__init__(self, server, admin_only=True, requires_patch=False)
Command.__init__(self, server, admin_only=True, requires_patch=True)
self.scheduler = scheduler

self.help_text = _("Usage: !stop_wc\n"
Expand Down

0 comments on commit 2612d21

Please sign in to comment.