[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: MAXCHANNELSPERUSER problem on ircd2.9.5
On May 12, Masahiko MURAKAMI wrote:
| I found a small problem in ircd2.9.5.The problem is like this:
|
| If MAXCHANNELSPERUSER is 10, and I joined already 10 channels, I get
| "You have joined too many channels" message after I try to join
| &SERVERS or &NOTICES ( or any server-notice channel). But If I joined
| 9 channels, I can join &SERVERS and one another normal channel.
|
| Maybe this is because ircd checks MAXCHANNELSPERUSER a bit too
| early.
from channel.c:
1954 if (MyConnect(sptr) &&
1955 sptr->user->joined >= MAXCHANNELSPERUSER) {
1956 /* Feature: Cannot join &flagchannels either
1957 if already joined MAXCHANNELSPERUSER times. */
1958 sendto_one(sptr, err_str(ERR_TOOMANYCHANNELS,
1959 parv[0]), name);
1960 return 2;
1961 }
it's just easier this way; blame Vesa for this one :-)
I personnaly don't think it's a big deal.