mirror of
https://github.com/evennia/evennia.git
synced 2026-03-25 09:16:32 +01:00
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:
commit
b4e5ce3878
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue