fix for broken listen command

This commit is contained in:
john30
2017-05-13 08:32:56 +02:00
parent ce31504981
commit de6251aa9c
+1 -1
View File
@@ -1341,7 +1341,7 @@ string MainLoop::executeFind(const vector<string>& args, const string& levels) {
string MainLoop::executeListen(const vector<string>& args, bool* listening) {
if (args.size() == 1) {
if (listening) {
if (*listening) {
return "listen continued";
}
*listening = true;