From 43e01ce4a6b7aca0bd26af5b432449afc4817b90 Mon Sep 17 00:00:00 2001
From: mathieui <mathieui@mathieui.net>
Date: Mon, 21 Jan 2013 19:34:44 +0100
Subject: Fix a traceback when a tab failed to be joined in the first place

---
 src/tabs.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src')

diff --git a/src/tabs.py b/src/tabs.py
index 2e39988d..4b1a695b 100644
--- a/src/tabs.py
+++ b/src/tabs.py
@@ -789,7 +789,7 @@ class MucTab(ChatTab):
         last_message = self._text_buffer.last_message
         if last_message:
             return last_message.time
-        return None
+        return 0
 
     @refresh_wrapper.always
     def go_to_next_hl(self):
-- 
cgit v1.2.3