commit - 939ee6a39b04e8417fa594ae8881b617ffd00029
commit + 0eccdbc137e968062cb928cf33226dabf3e371ec
blob - 6e733586332b62f1d2809ce69f8aa4ebe3f063a2
blob + ff6decfbc5482e4a5492e84e78e3575b1a17646a
--- src/ngircd/irc-login.c
+++ src/ngircd/irc-login.c
#include "portab.h"
-static char UNUSED id[] = "$Id: irc-login.c,v 1.49 2005/09/01 10:51:24 alex Exp $";
+static char UNUSED id[] = "$Id: irc-login.c,v 1.50 2006/08/12 11:56:24 fw Exp $";
#include "imp.h"
#include <assert.h>
"NICK :%s", Req->argv[0] );
IRC_WriteStrRelatedPrefix( target, target, false,
"NICK :%s", Req->argv[0] );
-
+
/* Register old nickname for WHOWAS queries */
Client_RegisterWhowas( target );
-
+
/* Save new nickname */
Client_SetID( target, Req->argv[0] );
-
+
IRC_SetPenalty( target, 2 );
}
blob - 1bfa9e15622c2999a86624992010e52a32777921
blob + fa3730813e98eaf2b88f511f5f40e149b23aefb2
--- src/ngircd/irc-mode.c
+++ src/ngircd/irc-mode.c
#include "portab.h"
-static char UNUSED id[] = "$Id: irc-mode.c,v 1.45 2006/05/10 21:24:01 alex Exp $";
+static char UNUSED id[] = "$Id: irc-mode.c,v 1.46 2006/08/12 11:56:24 fw Exp $";
#include "imp.h"
#include <assert.h>
if( ! origin ) return IRC_WriteStrClient( Client, ERR_NOSUCHNICK_MSG, Client_ID( Client ), Req->prefix );
}
else origin = Client;
-
+
/* Channel or user mode? */
cl = NULL; chan = NULL;
if (Client_IsValidNick(Req->argv[0]))
blob - ddb307e32ec48adbc73dcfdbe50ec869a64b8495
blob + 61131b609a0e113dea468819b5caedbc0189ae87
--- src/ngircd/irc-write.c
+++ src/ngircd/irc-write.c
#include "portab.h"
-static char UNUSED id[] = "$Id: irc-write.c,v 1.20 2006/05/10 21:24:01 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>
}
cl2chan = Channel_NextMember( chan, cl2chan );
}
-
+
/* naechsten Channel */
chan_cl2chan = Channel_NextChannelOf( Client, chan_cl2chan );
}
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);
blob - 2ce880d63ecbc12446012c4b33829886b44001df
blob + 3caabbb374514faa710949e675e552360dbf37da
--- src/ngircd/lists.c
+++ src/ngircd/lists.c
#include "portab.h"
-static char UNUSED id[] = "$Id: lists.c,v 1.18 2005/07/31 20:13:08 alex Exp $";
+static char UNUSED id[] = "$Id: lists.c,v 1.19 2006/08/12 11:56:24 fw Exp $";
#include "imp.h"
#include <assert.h>
#include "lists.h"
-#define MASK_LEN 2*CLIENT_HOST_LEN
+#define MASK_LEN (2*CLIENT_HOST_LEN)
typedef struct _C2C
{
assert( Mask != NULL );
assert( Chan != NULL );
-
+
return Already_Registered( My_Invites, Mask, Chan );
} /* Lists_IsInviteEntry */