Skip to content

Commit

Permalink
more compact chat support
Browse files Browse the repository at this point in the history
[x#] or (#)
  • Loading branch information
really-noob committed Aug 1, 2022
1 parent 5e86de3 commit 7ecea7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/Log_Reader.h
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ namespace LogParser {
hasQuitRegex("^\\[\\d\\d:\\d\\d:\\d\\d\\] \\[Client thread/INFO\\]: \\[CHAT\\] (\\S+) has quit!$"),
whoCommandRegex("^\\[\\d\\d:\\d\\d:\\d\\d\\] \\[Client thread/INFO\\]: \\[CHAT\\] ONLINE: (.+)$"),
apiNewRegex("^\\[\\d\\d:\\d\\d:\\d\\d\\] \\[Client thread/INFO\\]: \\[CHAT\\] Your new API key is (.+)$"),
extractCompactChat("(.+)( \\[x\\d\\])$");
extractCompactChat("(.+) ((\\[x\\d+\\])|(\\(\\d+\\)))$");

void filterPlayers() {
players.erase(std::remove_if(players.begin(), players.end(),
Expand Down

0 comments on commit 7ecea7e

Please sign in to comment.