]> arthur.barton.de Git - ngircd-alex.git/blobdiff - src/ngircd/irc-write.c
moved invite/ban lists to channel structure
[ngircd-alex.git] / src / ngircd / irc-write.c
index dce31408b227ce805a35fb53c632196c8cc482b0..61131b609a0e113dea468819b5caedbc0189ae87 100644 (file)
@@ -14,7 +14,7 @@
 
 #include "portab.h"
 
-static char UNUSED id[] = "$Id: irc-write.c,v 1.18 2005/04/27 07:39:18 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>
@@ -39,7 +39,7 @@ static char UNUSED id[] = "$Id: irc-write.c,v 1.18 2005/04/27 07:39:18 alex Exp
 #define SEND_TO_SERVER 2
 
 
-LOCAL char *Get_Prefix PARAMS(( CLIENT *Target, CLIENT *Client ));
+static char *Get_Prefix PARAMS(( CLIENT *Target, CLIENT *Client ));
 
 
 #ifdef PROTOTYPES
@@ -378,7 +378,7 @@ va_dcl
                        }
                        cl2chan = Channel_NextMember( chan, cl2chan );
                }
-               
+
                /* naechsten Channel */
                chan_cl2chan = Channel_NextChannelOf( Client, chan_cl2chan );
        }
@@ -400,21 +400,22 @@ 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 */
 
 
-LOCAL char *
+static char *
 Get_Prefix( CLIENT *Target, CLIENT *Client )
 {
        assert( Target != NULL );