Committer  : entrope
CVSROOT    : /cvsroot/undernet-ircu
Module     : ircu2.10
Commit time: 2006-07-23 17:27:44 UTC

Modified files:
     ircd/s_user.c ChangeLog

Log message:

Properly preserve references to ISUPPORT list entries.

---------------------- diff included ----------------------
Index: ircu2.10/ChangeLog
diff -u ircu2.10/ChangeLog:1.799 ircu2.10/ChangeLog:1.800
--- ircu2.10/ChangeLog:1.799    Mon Jul 17 15:52:11 2006
+++ ircu2.10/ChangeLog  Sun Jul 23 10:27:34 2006
@@ -1,3 +1,8 @@
+2006-07-23  Michael Poole <[EMAIL PROTECTED]>
+
+       * ircd/s_user.c (get_clean_isupport): Only initialize is_next the
+       first time around (otherwise entries get lost).
+
 2006-07-14  Michael Poole <[EMAIL PROTECTED]>
 
        * doc/example.conf (Features): Show the four added features.
Index: ircu2.10/ircd/s_user.c
diff -u ircu2.10/ircd/s_user.c:1.104 ircu2.10/ircd/s_user.c:1.105
--- ircu2.10/ircd/s_user.c:1.104        Mon Jun 26 19:39:59 2006
+++ ircu2.10/ircd/s_user.c      Sun Jul 23 10:27:33 2006
@@ -22,7 +22,7 @@
  */
 /** @file
  * @brief Miscellaneous user-related helper functions.
- * @version $Id: s_user.c,v 1.104 2006/06/27 02:39:59 entrope Exp $
+ * @version $Id: s_user.c,v 1.105 2006/07/23 17:27:33 entrope Exp $
  */
 #include "config.h"
 
@@ -1563,11 +1563,11 @@
         prev->is_next = isv;
     else
         isupport = isv;
+    isv->is_next = NULL;
   }
 
   isv->is_name = name;
   isv->is_type = OPT_NONE;
-  isv->is_next = NULL;
   touch_isupport();
   return isv;
 }
----------------------- End of diff -----------------------
_______________________________________________
Patches mailing list
[email protected]
http://undernet.sbg.org/mailman/listinfo/patches

Reply via email to