1
0
mirror of https://github.com/osmarks/ngircd.git synced 2025-10-13 13:47:39 +00:00

Fixed handling of already existent entries in invite and ban lists:

the attempt to add an already existent entry is no error, it must
be propagated across servers (but not added to the list!).
This commit is contained in:
Alexander Barton
2004-04-09 21:41:52 +00:00
parent cc25c52048
commit 64d330b726
4 changed files with 15 additions and 23 deletions

View File

@@ -14,7 +14,7 @@
#include "portab.h"
static char UNUSED id[] = "$Id: irc-op.c,v 1.12 2003/12/05 11:57:28 alex Exp $";
static char UNUSED id[] = "$Id: irc-op.c,v 1.13 2004/04/09 21:41:52 alex Exp $";
#include "imp.h"
#include <assert.h>
@@ -104,7 +104,7 @@ IRC_INVITE( CLIENT *Client, REQUEST *Req )
if( remember )
{
/* We must memember this invite */
if( ! Lists_AddInvited( from, Client_Mask( target ), chan, TRUE )) return CONNECTED;
if( ! Lists_AddInvited( Client_Mask( target ), chan, TRUE )) return CONNECTED;
}
}