Let ChannelCommand.arg_regex override the value set by the CHANNEL_HANDLER
This commit is contained in:
parent
dc859eae57
commit
7fb31d3160
1 changed files with 1 additions and 1 deletions
|
|
@ -66,6 +66,7 @@ class ChannelCommand(command.Command):
|
||||||
key = "general"
|
key = "general"
|
||||||
help_category = "Channel Names"
|
help_category = "Channel Names"
|
||||||
obj = None
|
obj = None
|
||||||
|
arg_regex = r"\s.*?|/history.*?"
|
||||||
|
|
||||||
def parse(self):
|
def parse(self):
|
||||||
"""
|
"""
|
||||||
|
|
@ -212,7 +213,6 @@ class ChannelHandler(object):
|
||||||
locks="cmd:all();%s" % channel.locks,
|
locks="cmd:all();%s" % channel.locks,
|
||||||
help_category="Channel names",
|
help_category="Channel names",
|
||||||
obj=channel,
|
obj=channel,
|
||||||
arg_regex=r"\s.*?|/history.*?",
|
|
||||||
is_channel=True)
|
is_channel=True)
|
||||||
# format the help entry
|
# format the help entry
|
||||||
key = channel.key
|
key = channel.key
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue