Added line output.

This commit is contained in:
sigonasr2 2025-04-21 15:56:43 -04:00
parent a647bbad76
commit be374e6574

View File

@ -6,8 +6,6 @@
#include <format>
#include <unordered_map>
#include <unordered_set>
#include <vector>
#include <algorithm>
using namespace std::chrono_literals;
@ -47,6 +45,7 @@ int main(){
while(!file.eof()){
std::string line{};
std::getline(file,line);
std::cout<<line<<std::endl;
if(line.length()>0){
size_t marker{};
if((marker=line.find(':'))==std::string::npos)continue;
@ -76,4 +75,4 @@ int main(){
}
}
std::cout<<std::format("{} offenders were banned!",ipBanList.size())<<std::endl;
}
}