summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2013-05-06 22:46:25 +0200
committerFlorent Le Coz <louiz@louiz.org>2013-05-09 13:18:44 +0200
commit38af82501c05f007464f2c73f44446c1dea7e127 (patch)
tree5e8e1b39472cb4503119a7296a1e07e706a852ac
parentbe6f5ba51209ad8d194738761a7d29b9104d633d (diff)
downloadpoezio-38af82501c05f007464f2c73f44446c1dea7e127.tar.gz
poezio-38af82501c05f007464f2c73f44446c1dea7e127.tar.bz2
poezio-38af82501c05f007464f2c73f44446c1dea7e127.tar.xz
poezio-38af82501c05f007464f2c73f44446c1dea7e127.zip
Fix a crash introduce something like 5-6 commits ago, np.
-rw-r--r--src/tabs.py8
1 files changed, 4 insertions, 4 deletions
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: