From edc25824f7dae45f897e7ddb0255022c7c6e0410 Mon Sep 17 00:00:00 2001 From: Griatch Date: Sun, 2 Nov 2014 10:42:22 +0100 Subject: [PATCH] Changed so the dynamic channel command must be followed by a space and then text when sending to a channel. This avoid overriding conflicts with other commands starting with common channel-names (like pub). Resolves #608. --- src/comms/channelhandler.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/comms/channelhandler.py b/src/comms/channelhandler.py index b11546ce4d..9bc0e00fd5 100644 --- a/src/comms/channelhandler.py +++ b/src/comms/channelhandler.py @@ -127,6 +127,7 @@ class ChannelHandler(object): locks="cmd:all();%s" % channel.locks, help_category="Channel names", obj=channel, + arg_regex=r"\s.*?", is_channel=True) self.cached_channel_cmds.append(cmd) self.cached_cmdsets = {}