Print paused status in tourney overview
authorH.G. Muller <h.g.muller@hccnet.nl>
Mon, 25 Feb 2013 12:52:14 +0000 (13:52 +0100)
committerH.G. Muller <h.g.muller@hccnet.nl>
Mon, 25 Feb 2013 12:52:14 +0000 (13:52 +0100)
lasker-2.2.3/bots/mamer/CommandEntry.cc

index 4046358..4312023 100644 (file)
@@ -753,7 +753,7 @@ int CommandEntry::ListTourneys(User *user, param_list params) {
       else if(Tstatus == OPEN) 
        sprintf(outStatus, "%s", "open");
       else if(Tstatus == CLOSED)
-       sprintf(outStatus, "%s", "closed");
+       sprintf(outStatus, "%s", t->IsPaused() ? "paused" : "closed");
       else if(Tstatus == DONE)
        sprintf(outStatus, "%s", "done");
       else