aboutsummaryrefslogtreecommitdiff
path: root/src/lobby.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/lobby.cpp')
-rw-r--r--src/lobby.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lobby.cpp b/src/lobby.cpp
index 5e98b757..d4a58e9e 100644
--- a/src/lobby.cpp
+++ b/src/lobby.cpp
@@ -553,7 +553,10 @@ void Lobby::get_motd()
{
document = tr("Couldn't get the message of the day.");
}
- ui_motd_text->setHtml(document);
+ if (ui_motd_text)
+ {
+ ui_motd_text->setHtml(document);
+ }
});
}