[svn] add_id() for local client: do not collapse() the ban mask.

The code calling this already collapses the mask, and if
not, doing it here would cause a desync.
This commit is contained in:
jilles 2007-07-14 05:20:48 -07:00
parent efb1d08613
commit 94d53e53a4
3 changed files with 12 additions and 4 deletions

View File

@ -1,3 +1,13 @@
nenolod 2007/07/07 08:08:23 UTC (20070707-3528)
Log:
- fix dereference problems with not widely used polling engines
Changes: Modified:
+3 -0 trunk/libcharybdis/poll.c (File Modified)
+3 -1 trunk/libcharybdis/select.c (File Modified)
nenolod 2007/07/06 07:56:14 UTC (20070706-3526)
Log:
- forgot to do something

View File

@ -1 +1 @@
#define SERNO "20070706-3526"
#define SERNO "20070707-3528"

View File

@ -22,7 +22,7 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
* USA
*
* $Id: chmode.c 3213 2007-02-21 19:52:51Z jilles $
* $Id: chmode.c 3530 2007-07-14 12:20:48Z jilles $
*/
#include "stdinc.h"
@ -108,8 +108,6 @@ add_id(struct Client *source_p, struct Channel *chptr, const char *banid,
return 0;
}
collapse(realban);
DLINK_FOREACH(ptr, list->head)
{
actualBan = ptr->data;