- reported by aquanight, removing dependancy on +l for +L. This

will be backwards compatible as well, SJOIN doesn't care (TM) and mode
  doesn't either in case of a server sending it. So this will be just a
  client protocol modification.
This commit is contained in:
stskeeps 2007-06-14 18:10:34 +00:00
parent 8cf43a9596
commit 92bd444ac2
2 changed files with 4 additions and 6 deletions
Changes
src/modules

View file

@ -1484,3 +1484,7 @@
when trying to /connect to a server with wildcards (* and ?) in the link
block. We also raise an error if link::options::autoconnect is used
together with wildcards in hostname.
- #0002040 reported by aquanight, removing dependancy on +l for +L. This
will be backwards compatible as well, SJOIN doesn't care (TM) and mode
doesn't either in case of a server sending it. So this will be just a
client protocol modification.

View file

@ -1241,12 +1241,6 @@ int do_mode_char(aChannel *chptr, long modetype, char modechar, char *param,
break;
}
if (!chptr->mode.limit && what == MODE_ADD)
{
sendto_one(cptr, err_str(ERR_CANNOTCHANGECHANMODE),
me.name, cptr->name, 'L', "+l must be set");
break;
}
linkok:
retval = 1;
for (x = 0; x < *pcount; x++)