]> arthur.barton.de Git - ngircd-alex.git/blobdiff - src/ngircd/conn-func.c
Get rid of Conn_ResetPenalty(), it is unused
[ngircd-alex.git] / src / ngircd / conn-func.c
index e81a79e961a1c165b4bf4851a8f594f6d4af74ee..964767442ce8dfb1b3bc70ee443a4ceec8b6579c 100644 (file)
@@ -117,24 +117,6 @@ Conn_SetPenalty(CONN_ID Idx, time_t Seconds)
 } /* Conn_SetPenalty */
 
 
-/**
- * Reset the "penalty time" for one connection.
- *
- * @param Idx Connection index.
- * @see Conn_SetPenalty
- */
-GLOBAL void
-Conn_ResetPenalty(CONN_ID Idx)
-{
-       assert(Idx > NONE);
-
-       My_Connections[Idx].delaytime = 0;
-#ifdef DEBUG
-       Log(LOG_DEBUG, "Penalty time on connection %d has been reset.");
-#endif
-} /* Conn_ResetPenalty */
-
-
 GLOBAL void
 Conn_ClearFlags( void )
 {