]> git.localhorst.tv Git - blank.git/blobdiff - src/standalone/MasterState.cpp
ignore empty chat lines
[blank.git] / src / standalone / MasterState.cpp
index 0744a7c52260e36f221e033421957ef1b7a15d45..49ee0fbf9214967d550b526a7fd59469a9646c05 100644 (file)
@@ -196,7 +196,9 @@ void MasterState::Exit() {
 }
 
 void MasterState::OnLineSubmit(const std::string &line) {
-       hud.PostMessage(line);
+       if (!line.empty()) {
+               hud.PostMessage(line);
+       }
 }
 
 }