Change settings.COMMAND_ARG_REGEX default to require a space or '/' between cmdname and argument. This better matches common expectations. Resolves #1541.

This commit is contained in:
Griatch 2021-10-31 23:08:33 +01:00
parent 36e985557f
commit c2a3c789d3
6 changed files with 35 additions and 12 deletions

View file

@ -761,7 +761,7 @@ class TestAdmin(CommandTest):
self.call(admin.CmdWall(), "Test", "Announcing to all connected sessions ...")
def test_ban(self):
self.call(admin.CmdBan(), "Char", "Name-Ban char was added.")
self.call(admin.CmdBan(), "Char", "Name-ban 'char' was added. Use unban to reinstate.")
def test_force(self):
cid = self.char2.id