X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fngircd%2Firc.c;fp=src%2Fngircd%2Firc.c;h=4e95a31ae9a8424365e9e4a80b91756dacb9d244;hb=d155ed17c8ed3153250ca79ce7f634db1f6713c4;hp=2f2874a62993e4a6fdd5a939def845917a78b3f4;hpb=0b114e814b9b12bd06052329d8b7815e7ea70a08;p=ngircd.git diff --git a/src/ngircd/irc.c b/src/ngircd/irc.c index 2f2874a6..4e95a31a 100644 --- a/src/ngircd/irc.c +++ b/src/ngircd/irc.c @@ -14,7 +14,7 @@ #include "portab.h" -static char UNUSED id[] = "$Id: irc.c,v 1.120.2.1 2003/04/29 12:20:14 alex Exp $"; +static char UNUSED id[] = "$Id: irc.c,v 1.120.2.2 2003/11/07 20:51:11 alex Exp $"; #include "imp.h" #include @@ -265,6 +265,7 @@ IRC_TRACE( CLIENT *Client, REQUEST *Req ) /* Some information about us */ if( ! IRC_WriteStrClient( from, RPL_TRACESERVER_MSG, Client_ID( from ), Conf_ServerName, Client_Mask( Client_ThisServer( )), Option_String( Client_Conn( Client )))) return DISCONNECTED; + IRC_SetPenalty( Client, 3 ); return IRC_WriteStrClient( from, RPL_TRACEEND_MSG, Client_ID( from ), Conf_ServerName, PACKAGE_NAME, PACKAGE_VERSION, NGIRCd_DebugLevel ); } /* IRC_TRACE */ @@ -286,6 +287,8 @@ IRC_HELP( CLIENT *Client, REQUEST *Req ) if( ! IRC_WriteStrClient( Client, "NOTICE %s :%s", Client_ID( Client ), cmd->name )) return DISCONNECTED; cmd++; } + + IRC_SetPenalty( Client, 2 ); return CONNECTED; } /* IRC_HELP */