]> arthur.barton.de Git - ngircd-alex.git/commit
Conn_SetPenalty(): Add new "penalty time" on each function call
authorAlexander Barton <alex@barton.de>
Wed, 4 Jan 2012 20:39:46 +0000 (21:39 +0100)
committerAlexander Barton <alex@barton.de>
Wed, 4 Jan 2012 20:39:46 +0000 (21:39 +0100)
commitb24d645ca183194b0158cd7bba1e0c1f468a7de9
tree2e2d8bd1863839b90af9322f4fbe3d56a6886265
parent1bb2fbedcc975aa6e424fd201f59a178a03d45b0
Conn_SetPenalty(): Add new "penalty time" on each function call

Until now, the penalty time has only been set when longer as the
already set one, so it didn't accumulate.

And add documentation for and clean up code in Conn_SetPenalty() and
Conn_ResetPenalty() functions.
src/ngircd/conn-func.c