summaryrefslogtreecommitdiff
path: root/plugins/amsg.py
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/amsg.py')
-rw-r--r--plugins/amsg.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/amsg.py b/plugins/amsg.py
index a002b11e..57a37255 100644
--- a/plugins/amsg.py
+++ b/plugins/amsg.py
@@ -5,7 +5,7 @@ from tabs import MucTab
class Plugin(BasePlugin):
def init(self):
- self.add_command('amsg', self.command_amsg,
+ self.api.add_command('amsg', self.command_amsg,
usage='<message>',
short='Broadcast a message',
help='Broadcast the message to all the joined rooms.')