summaryrefslogtreecommitdiff
path: root/plugins/day_change.py
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/day_change.py')
-rw-r--r--plugins/day_change.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/day_change.py b/plugins/day_change.py
index cedb4b35..6e0c3e1f 100644
--- a/plugins/day_change.py
+++ b/plugins/day_change.py
@@ -27,9 +27,7 @@ class Plugin(BasePlugin):
msg = _("Day changed to %s") % (datetime.date.today().isoformat())
for tab in self.core.tabs:
- if (isinstance(tab, tabs.MucTab) or
- isinstance(tab, tabs.PrivateTab) or
- isinstance(tab, tabs.ConversationTab)):
+ if isinstance(tab, tabs.ChatTab):
tab.add_message(msg)
self.core.refresh_window()