Merge pull request #1358 from vlegoff/arg_regex

Let ChannelCommand.arg_regex override the value set by the CHANNEL_HA…
This commit is contained in:
Griatch 2017-07-13 22:52:34 +02:00 committed by GitHub
commit b4e5ce3878

View file

@ -66,6 +66,7 @@ class ChannelCommand(command.Command):
key = "general"
help_category = "Channel Names"
obj = None
arg_regex = r"\s.*?|/history.*?"
def parse(self):
"""
@ -212,7 +213,6 @@ class ChannelHandler(object):
locks="cmd:all();%s" % channel.locks,
help_category="Channel names",
obj=channel,
arg_regex=r"\s.*?|/history.*?",
is_channel=True)
# format the help entry
key = channel.key