summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/tabs/muctab.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tabs/muctab.py b/src/tabs/muctab.py
index e7be0597..38592dff 100644
--- a/src/tabs/muctab.py
+++ b/src/tabs/muctab.py
@@ -1618,7 +1618,8 @@ class MucTab(ChatTab):
"""
# reset self-ping interval
- self.enable_self_ping_event()
+ if self.self_ping_event:
+ self.enable_self_ping_event()
self.log_message(txt, nickname, time=time, typ=kwargs.get('typ', 1))
args = dict()