# HG changeset patch # User Goffi # Date 1357516573 -3600 # Node ID 7573897831ee2871d13c7ecbe193b062e9d81293 # Parent f65f5a324bd532d28c4abe8218801fc631719acf plugin text commands: added /topic as a synonym of /title diff -r f65f5a324bd5 -r 7573897831ee src/plugins/plugin_misc_text_commands.py --- 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