- new numeric on login: RPL_FEATURE
authorAlexander Barton <alex@barton.de>
Sun, 22 Dec 2002 23:31:21 +0000 (23:31 +0000)
committerAlexander Barton <alex@barton.de>
Sun, 22 Dec 2002 23:31:21 +0000 (23:31 +0000)
src/ngircd/irc-login.c

index 8218d22b25de823f78db1cf8f85aff836717680f..f722435785649bcf4f41ed34247693a712435566 100644 (file)
@@ -14,7 +14,7 @@
 
 #include "portab.h"
 
-static char UNUSED id[] = "$Id: irc-login.c,v 1.27 2002/12/12 12:24:18 alex Exp $";
+static char UNUSED id[] = "$Id: irc-login.c,v 1.28 2002/12/22 23:31:21 alex Exp $";
 
 #include "imp.h"
 #include <assert.h>
@@ -448,6 +448,9 @@ Hello_User( CLIENT *Client )
        if( ! IRC_WriteStrClient( Client, RPL_CREATED_MSG, Client_ID( Client ), NGIRCd_StartStr )) return FALSE;
        if( ! IRC_WriteStrClient( Client, RPL_MYINFO_MSG, Client_ID( Client ), Client_ID( Client_ThisServer( )), VERSION, USERMODES, CHANMODES )) return FALSE;
 
+       /* Features */
+       if( ! IRC_WriteStrClient( Client, RPL_FEATURE_MSG, Client_ID( Client ), CLIENT_NICK_LEN - 1, CHANNEL_TOPIC_LEN - 1, CLIENT_AWAY_LEN - 1, Conf_MaxJoins )) return DISCONNECTED;
+
        Client_SetType( Client, CLIENT_USER );
 
        if( ! IRC_Send_LUSERS( Client )) return DISCONNECTED;