Fixed up bad test during unregistering of services.
authorAlexander Barton <alex@barton.de>
Thu, 27 Mar 2003 01:24:32 +0000 (01:24 +0000)
committerAlexander Barton <alex@barton.de>
Thu, 27 Mar 2003 01:24:32 +0000 (01:24 +0000)
src/ngircd/rendezvous.c

index 484ca09e227a3902d214887382efe90dbd4b0b9e..323b07df26d1233f1772b91752427ebdab7abfb0 100644 (file)
@@ -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 */