fix for broken listen command
This commit is contained in:
@@ -1341,7 +1341,7 @@ string MainLoop::executeFind(const vector<string>& args, const string& levels) {
|
|||||||
|
|
||||||
string MainLoop::executeListen(const vector<string>& args, bool* listening) {
|
string MainLoop::executeListen(const vector<string>& args, bool* listening) {
|
||||||
if (args.size() == 1) {
|
if (args.size() == 1) {
|
||||||
if (listening) {
|
if (*listening) {
|
||||||
return "listen continued";
|
return "listen continued";
|
||||||
}
|
}
|
||||||
*listening = true;
|
*listening = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user