Closed abrowne2 closed 7 years ago
Similar to r9k, keep track of each message by something like this: std::chrono::time_point<std::chrono::steady_clock> now();
std::chrono::time_point<std::chrono::steady_clock> now();
If the differences between messages <30 seconds, we can compare the messages. If they're identical, the most recent one is spam.
Similar to r9k, keep track of each message by something like this:
std::chrono::time_point<std::chrono::steady_clock> now();
If the differences between messages <30 seconds, we can compare the messages. If they're identical, the most recent one is spam.