Mercurial > libervia-backend
changeset 565:7573897831ee
plugin text commands: added /topic as a synonym of /title
author | Goffi <goffi@goffi.org> |
---|---|
date | Mon, 07 Jan 2013 00:56:13 +0100 |
parents | f65f5a324bd5 |
children | 9faccd827657 |
files | src/plugins/plugin_misc_text_commands.py |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/plugins/plugin_misc_text_commands.py Fri Dec 28 20:05:08 2012 +0100 +++ b/src/plugins/plugin_misc_text_commands.py Mon Jan 07 00:56:13 2013 +0100 @@ -159,6 +159,10 @@ return False + def cmd_topic(self, mess_data, profile): + """just a synonym of /title""" + return self.cmd_title(mess_data, profile) + def cmd_parrot(self, mess_data, profile): """activate Parrot mode between 2 entities, in both directions.""" #TODO: these commands must not be hardcoded, an interface should be made