aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2005-12-17 11:06:52 +0100
committerWilmer van der Gaast <wilmer@gaast.net>2005-12-17 11:06:52 +0100
commit12c6634050984e3a7da472b603ddb63e7c7500c8 (patch)
treeec2ecfb58a1b9f5abf4eecf33564caaf7300a1bc
parent701acdd41542656493d753a75480bc0594ea74b9 (diff)
BitlBee now sends a (hopefully correct) 005 reply on connect.
-rw-r--r--irc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/irc.c b/irc.c
index 29ac2a11..61d78bc9 100644
--- a/irc.c
+++ b/irc.c
@@ -1075,6 +1075,7 @@ void irc_login( irc_t *irc )
irc_reply( irc, 2, ":Host %s is running BitlBee " BITLBEE_VERSION " " ARCH "/" CPU ".", irc->myhost );
irc_reply( irc, 3, ":%s", IRCD_INFO );
irc_reply( irc, 4, "%s %s %s %s", irc->myhost, BITLBEE_VERSION, UMODES, CMODES );
+ irc_reply( irc, 5, "PREFIX=(ov)@% CHANTYPES=#& CHANMODES=,,,%s NICKLEN=%d NETWORK=BitlBee CASEMAPPING=rfc1459 MAXTARGETS=1 WATCH=128 :are supported by this server", CMODES, MAX_NICK_LENGTH - 1 );
irc_motd( irc );
irc_umode_set( irc, irc->myhost, "+" UMODE );