mirror of
https://github.com/osmarks/ngircd.git
synced 2024-12-12 09:50:29 +00:00
Fixed up bad test during unregistering of services.
This commit is contained in:
parent
24df40eca7
commit
9ab97b29ae
@ -17,7 +17,7 @@
|
||||
#ifdef RENDEZVOUS
|
||||
|
||||
|
||||
static char UNUSED id[] = "$Id: rendezvous.c,v 1.1 2003/02/23 12:02:26 alex Exp $";
|
||||
static char UNUSED id[] = "$Id: rendezvous.c,v 1.2 2003/03/27 01:24:32 alex Exp $";
|
||||
|
||||
#include "imp.h"
|
||||
#include <assert.h>
|
||||
@ -154,7 +154,7 @@ GLOBAL VOID Rendezvous_UnregisterListeners( VOID )
|
||||
|
||||
for( i = 0; i < MAX_RENDEZVOUS; i++ )
|
||||
{
|
||||
if( strchr( My_Rendezvous[i].Desc, '.' )) Unregister( i );
|
||||
if( My_Rendezvous[i].Discovery_Ref ) Unregister( i );
|
||||
}
|
||||
} /* Rendezvous_UnregisterListeners */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user