diff src/plugins/plugin_misc_text_commands.py @ 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 790be337cc41
children ca13633d3b6b
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