[eggheads-patches] PATCH1.5: ismember_fix_1.5.patch

Fabian Knittel fknittel at gmx.de
Mon Oct 2 17:36:01 CST 2000


[ ismember_fix_1.5.patch ]

This patch fixes a typo I added to ismember() during one of my
recent cleanups. It caused all sorts of channel functions to
totally freak out.

Fabian

--
Fabian Knittel <fknittel at gmx.de> -- http://www.esc-web.de/fabian/
Signed or encrypted mail preferred.    PGP DSA key ID: 0x838B4D20
-------------- next part --------------
diff -urN --exclude-from=/home/fabian/.diffex eggdrop1.5~/doc/UPDATES1.5 eggdrop1.5/doc/UPDATES1.5
--- eggdrop1.5~/doc/UPDATES1.5	Tue Oct  3 00:50:21 2000
+++ eggdrop1.5/doc/UPDATES1.5	Tue Oct  3 01:18:04 2000
@@ -5,6 +5,8 @@
 
 1.5.5
 Foundby   Fixedby   What....
+Abraham/  Fabian    Small typo in ismember() (added during cleanup) caused
+DennisMV              channel functions to freak out. Sigh.
           Cybah     flush_mode() cleanups. -{b,e,I} now sent before +{b,e,I}.
                       used egg_strcatn to make buffer-overflow free.
           Fabian    Fixed caching for tcl configuration details. As soon as
diff -urN --exclude-from=/home/fabian/.diffex eggdrop1.5~/src/chanprog.c eggdrop1.5/src/chanprog.c
--- eggdrop1.5~/src/chanprog.c	Tue Oct  3 00:50:21 2000
+++ eggdrop1.5/src/chanprog.c	Tue Oct  3 01:13:58 2000
@@ -89,7 +89,7 @@
   register memberlist	*x;
 
   for (x = chan->channel.member; x && x->nick[0]; x = x->next)
-    if (rfc_casecmp(x->nick, nick))
+    if (!rfc_casecmp(x->nick, nick))
       return x;
   return NULL;
 }




More information about the Patches mailing list