]> arthur.barton.de Git - ngircd-alex.git/blobdiff - src/ngircd/irc-write.c
Remove duplicate Channel_FirstChannelOf().
[ngircd-alex.git] / src / ngircd / irc-write.c
index fbfa90332b90ec6f89490161c304cfb8ae490d51..61131b609a0e113dea468819b5caedbc0189ae87 100644 (file)
@@ -14,7 +14,7 @@
 
 #include "portab.h"
 
-static char UNUSED id[] = "$Id: irc-write.c,v 1.19 2005/07/31 20:13:08 alex Exp $";
+static char UNUSED id[] = "$Id: irc-write.c,v 1.21 2006/08/12 11:56:24 fw Exp $";
 
 #include "imp.h"
 #include <assert.h>
@@ -378,7 +378,7 @@ va_dcl
                        }
                        cl2chan = Channel_NextMember( chan, cl2chan );
                }
-               
+
                /* naechsten Channel */
                chan_cl2chan = Channel_NextChannelOf( Client, chan_cl2chan );
        }
@@ -400,17 +400,18 @@ va_dcl
 
 
 GLOBAL void
-IRC_SetPenalty( CLIENT *Client, int Seconds )
+IRC_SetPenalty( CLIENT *Client, time_t Seconds )
 {
        CONN_ID c;
-       
+
        assert( Client != NULL );
        assert( Seconds > 0 );
-       
+
        if( Client_Type( Client ) == CLIENT_SERVER ) return;
-       
+
        c = Client_Conn( Client );
-       if( c > NONE ) Conn_SetPenalty( c, Seconds );           
+       if (c > NONE)
+               Conn_SetPenalty(c, Seconds);
 } /* IRC_SetPenalty */