plugin text commands: added /topic as a synonym of /title

This commit is contained in:
Goffi 2013-01-07 00:56:13 +01:00
commit c2713681a3

View file

@ -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