From 38af82501c05f007464f2c73f44446c1dea7e127 Mon Sep 17 00:00:00 2001 From: Florent Le Coz Date: Mon, 6 May 2013 22:46:25 +0200 Subject: Fix a crash introduce something like 5-6 commits ago, np. --- src/tabs.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/tabs.py b/src/tabs.py index 0c9c2047..72b78d83 100644 --- a/src/tabs.py +++ b/src/tabs.py @@ -1537,12 +1537,12 @@ class MucTab(ChatTab): delay = config.get_by_tabname('autorejoin_delay', "5", self.general_jid, True) delay = common.parse_str_to_secs(delay) if delay <= 0: - muc.join_groupchat(self.core.xmpp, self.name, self.own_nick) + muc.join_groupchat(self.core, self.name, self.own_nick) else: self.core.add_timed_event(timed_events.DelayedEvent( delay, muc.join_groupchat, - self.core.xmpp, + self.core, self.name, self.own_nick)) @@ -1579,12 +1579,12 @@ class MucTab(ChatTab): delay = config.get_by_tabname('autorejoin_delay', "5", self.general_jid, True) delay = common.parse_str_to_secs(delay) if delay <= 0: - muc.join_groupchat(self.core.xmpp, self.name, self.own_nick) + muc.join_groupchat(self.core, self.name, self.own_nick) else: self.core.add_timed_event(timed_events.DelayedEvent( delay, muc.join_groupchat, - self.core.xmpp, + self.core, self.name, self.own_nick)) else: -- cgit v1.2.3