Revision: 1887
http://undernet-ircu.svn.sourceforge.net/undernet-ircu/?rev=1887&view=rev
Author: klmitch
Date: 2008-10-09 14:34:20 +0000 (Thu, 09 Oct 2008)
Log Message:
-----------
Author: Kev <[EMAIL PROTECTED]>
Description:
Correct a mistaken assertion. The new mode system now compiles and
initializes properly. Next step: write a temporary command to test
some elements of the system.
Modified Paths:
--------------
ircu2/branches/mode/ChangeLog
ircu2/branches/mode/ircd/register.c
Modified: ircu2/branches/mode/ChangeLog
===================================================================
--- ircu2/branches/mode/ChangeLog 2008-10-09 14:25:03 UTC (rev 1886)
+++ ircu2/branches/mode/ChangeLog 2008-10-09 14:34:20 UTC (rev 1887)
@@ -1,5 +1,10 @@
2008-10-09 Kevin L. Mitchell <[EMAIL PROTECTED]>
+ * ircd/register.c (reg_add): at this point, entry->rl_desc is
+ *supposed* to be 0
+
+2008-10-09 Kevin L. Mitchell <[EMAIL PROTECTED]>
+
* include/mode.h: it's not modedesc_t or modelist_t, it's
mode_desc_t and mode_list_t; also take care of renaming key_t to
ircd_key_t; ml_keyspace field should not be a *pointer* to a
Modified: ircu2/branches/mode/ircd/register.c
===================================================================
--- ircu2/branches/mode/ircd/register.c 2008-10-09 14:25:03 UTC (rev 1886)
+++ ircu2/branches/mode/ircd/register.c 2008-10-09 14:34:20 UTC (rev 1887)
@@ -218,7 +218,7 @@
{
assert(0 != table);
assert(0 != entry);
- assert(0 != entry->rl_desc);
+ assert(0 == entry->rl_desc);
/* OK, add the new entry to the head of the linked list */
entry->rl_next = table->reg_list;
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
_______________________________________________
Patches mailing list
[email protected]
http://undernet.sbg.org/mailman/listinfo/patches