Remove legacy msg.cmds

This commit is contained in:
nemunaire 2017-07-18 06:39:17 +02:00
parent fde459c3ff
commit a11ccb2e39
2 changed files with 0 additions and 10 deletions

View File

@ -31,11 +31,6 @@ class Command(Abstract):
def __str__(self): def __str__(self):
return self.cmd + " @" + ",@".join(self.args) return self.cmd + " @" + ",@".join(self.args)
@property
def cmds(self):
# TODO: this is for legacy modules
return [self.cmd] + self.args
class OwnerCommand(Command): class OwnerCommand(Command):

View File

@ -27,8 +27,3 @@ class Response(Abstract):
def __str__(self): def __str__(self):
return self.cmd + " @" + ",@".join(self.args) return self.cmd + " @" + ",@".join(self.args)
@property
def cmds(self):
# TODO: this is for legacy modules
return [self.cmd] + self.args