Skip to content
Permalink
Browse files

Broadcast RPC-updated welcome text, even when it is empty

  • Loading branch information...
bontibon authored and mkrautz committed May 25, 2015
1 parent d209595 commit ebf6d23f2b0f05a40e6c76e48c2c50202d99d4d2
Showing with 3 additions and 5 deletions.
  1. +3 −5 src/murmur/Server.cpp
@@ -520,11 +520,9 @@ void Server::setLiveConf(const QString &key, const QString &value) {
QString text = !v.isNull() ? v : Meta::mp.qsWelcomeText;
if (text != qsWelcomeText) {
qsWelcomeText = text;
if (! qsWelcomeText.isEmpty()) {
MumbleProto::ServerConfig mpsc;
mpsc.set_welcome_text(u8(qsWelcomeText));
sendAll(mpsc);
}
MumbleProto::ServerConfig mpsc;
mpsc.set_welcome_text(u8(qsWelcomeText));
sendAll(mpsc);
}
} else if (key == "registername") {
QString text = !v.isNull() ? v : Meta::mp.qsRegName;

0 comments on commit ebf6d23

Please sign in to comment.
You can’t perform that action at this time.