summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rwxr-xr-xexamples/muc.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/examples/muc.py b/examples/muc.py
index 5f18a143..469e8f49 100755
--- a/examples/muc.py
+++ b/examples/muc.py
@@ -67,11 +67,11 @@ class MUCBot(slixmpp.ClientXMPP):
"""
self.get_roster()
self.send_presence()
- self.plugin['xep_0045'].joinMUC(self.room,
- self.nick,
- # If a room password is needed, use:
- # password=the_room_password,
- wait=True)
+ self.plugin['xep_0045'].join_muc(self.room,
+ self.nick,
+ # If a room password is needed, use:
+ # password=the_room_password,
+ wait=True)
def muc_message(self, msg):
"""