From c2713681a39bd29c5ca96292120b7e31aec98872 Mon Sep 17 00:00:00 2001 From: Goffi Date: Mon, 7 Jan 2013 00:56:13 +0100 Subject: [PATCH] plugin text commands: added /topic as a synonym of /title --- src/plugins/plugin_misc_text_commands.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/plugins/plugin_misc_text_commands.py b/src/plugins/plugin_misc_text_commands.py index 16d058b0..6bc0d529 100755 --- a/src/plugins/plugin_misc_text_commands.py +++ b/src/plugins/plugin_misc_text_commands.py @@ -159,6 +159,10 @@ class TextCommands(): 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