[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:
parent
efb1d08613
commit
94d53e53a4
3 changed files with 12 additions and 4 deletions
10
ChangeLog
10
ChangeLog
|
@ -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)
|
nenolod 2007/07/06 07:56:14 UTC (20070706-3526)
|
||||||
Log:
|
Log:
|
||||||
- forgot to do something
|
- forgot to do something
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
#define SERNO "20070706-3526"
|
#define SERNO "20070707-3528"
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||||
* USA
|
* 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"
|
#include "stdinc.h"
|
||||||
|
@ -108,8 +108,6 @@ add_id(struct Client *source_p, struct Channel *chptr, const char *banid,
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
collapse(realban);
|
|
||||||
|
|
||||||
DLINK_FOREACH(ptr, list->head)
|
DLINK_FOREACH(ptr, list->head)
|
||||||
{
|
{
|
||||||
actualBan = ptr->data;
|
actualBan = ptr->data;
|
||||||
|
|
Loading…
Reference in a new issue