mirror of
https://github.com/evennia/evennia.git
synced 2026-03-30 20:47:17 +02:00
Fixed an issue with exit commands not using arg_regex ending correctly (it turns out you need to include this in the ExitCommand creation call or the metaclass will not pick it up and precompile the regex). Resolves Issue 397.
This commit is contained in:
parent
7f0d0dd0f8
commit
149b06a6a4
3 changed files with 8 additions and 7 deletions
|
|
@ -125,7 +125,9 @@ class ChannelHandler(object):
|
|||
cmd = ChannelCommand(key=channel.key.strip().lower(),
|
||||
aliases=channel.aliases.all(),
|
||||
locks="cmd:all();%s" % channel.locks,
|
||||
obj=channel)
|
||||
help_category="Channel names",
|
||||
obj=channel,
|
||||
is_channel=True)
|
||||
cmd.__doc__= self._format_help(channel)
|
||||
self.cached_channel_cmds.append(cmd)
|
||||
self.cached_cmdsets = {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue