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.

This commit is contained in:
Griatch 2014-11-02 10:42:22 +01:00
parent 4e0bbf4827
commit edc25824f7

View file

@ -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 = {}