diff options
author | John Marino <marino@FreeBSD.org> | 2013-10-02 23:09:55 +0000 |
---|---|---|
committer | John Marino <marino@FreeBSD.org> | 2013-10-02 23:09:55 +0000 |
commit | bb69a303d025d3fee6c4bd7c6f8f88f58ec84c2f (patch) | |
tree | b74e34500523056be7dfced8d2e49749771c2691 /irc | |
parent | 034376c1d02aaa2450ba50b8b8275745659cca30 (diff) |
Notes
Diffstat (limited to 'irc')
-rw-r--r-- | irc/ezbounce/files/patch-src_irc_flood.cc | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/irc/ezbounce/files/patch-src_irc_flood.cc b/irc/ezbounce/files/patch-src_irc_flood.cc new file mode 100644 index 000000000000..bd7cb8ce4f20 --- /dev/null +++ b/irc/ezbounce/files/patch-src_irc_flood.cc @@ -0,0 +1,13 @@ +--- src/irc/flood.cc.orig 2008-07-01 02:53:36.000000000 +0000 ++++ src/irc/flood.cc +@@ -204,8 +204,8 @@ void flood_protector::clear_expired(time + const seconds_t &max = *std::max_element(vals, vals+n) + 1; + + for (nick_hash_t::const_iterator i = nick_hash.begin(), +- e = nick_hash.end(); +- i != e; ++ ef = nick_hash.end(); ++ i != ef; + ++i) { + flood_entry& e = *i->second; + |