Changeset f32c14c


Ignore:
Timestamp:
2010-08-09T13:39:50Z (14 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
ffdf2e7
Parents:
b890626
Message:

Oops. We're using channel mode +h (halfop) for a while already, but so far
without advertising this in 005. This confuses irssi ans possibly other
clients. Fixing that now. Also adding SAFELIST which may make some clients
less afraid of using /LIST, and CHANNELLEN with an artifical limit (the
code has no max. channel name limit).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • irc_send.c

    rb890626 rf32c14c  
    4444        irc_send_num( irc,   3, ":%s", IRCD_INFO );
    4545        irc_send_num( irc,   4, "%s %s %s %s", irc->root->host, BITLBEE_VERSION, UMODES UMODES_PRIV, CMODES );
    46         irc_send_num( irc,   5, "PREFIX=(ov)@+ CHANTYPES=%s CHANMODES=,,,%s NICKLEN=%d NETWORK=BitlBee "
    47                                 "CASEMAPPING=rfc1459 MAXTARGETS=1 WATCH=128 :are supported by this server",
    48                                 CTYPES, CMODES, MAX_NICK_LENGTH - 1 );
     46        irc_send_num( irc,   5, "PREFIX=(ohv)@%%+ CHANTYPES=%s CHANMODES=,,,%s NICKLEN=%d CHANNELLEN=%d "
     47                                "NETWORK=BitlBee SAFELIST CASEMAPPING=rfc1459 MAXTARGETS=1 WATCH=128 "
     48                                ":are supported by this server",
     49                                CTYPES, CMODES, MAX_NICK_LENGTH - 1, MAX_NICK_LENGTH - 1 );
    4950        irc_send_motd( irc );
    5051}
Note: See TracChangeset for help on using the changeset viewer.