diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/core.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core.py b/src/core.py index 00106157..4a124e31 100644 --- a/src/core.py +++ b/src/core.py @@ -846,7 +846,7 @@ class Core(object): room_from = message.getMucroom() room = self.get_room_by_name(room_from) subject = message['subject'] - if not subject: + if not subject or not room: return if nick_from: self.add_message_to_text_buffer(room, _("%(nick)s set the subject to: %(subject)s") % {'nick':nick_from, 'subject':subject}, time=None) |