Log message:
Separate whowas_clean() from MyFree() call; default LOCOP_KILL to on.
Testing:
These changes are "clearly" correct, and so I have not even compile-checked
them; sorry.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@377
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
+2001-01-17 Kevin L. Mitchell <klmitch@mit.edu>
+
+ * ircd/whowas.c (whowas_free): MyFree() is a macro that expects
+ its argument to be an lvalue, which means we can't use
+ whowas_clean()'s handy-dandy "return ww" feature
+
+ * ircd/ircd_features.c: default LOCOP_KILL to TRUE--oops...
+
2001-01-15 Kevin L. Mitchell <klmitch@mit.edu>
* ircd/client.c: fixed feattab; basically, when I changed features
2001-01-15 Kevin L. Mitchell <klmitch@mit.edu>
* ircd/client.c: fixed feattab; basically, when I changed features
F_B(OPERS_SEE_IN_SECRET_CHANNELS, 0, 1, 0),
/* features that affect local opers on this server */
F_B(OPERS_SEE_IN_SECRET_CHANNELS, 0, 1, 0),
/* features that affect local opers on this server */
- F_B(LOCOP_KILL, 0, 0, 0),
+ F_B(LOCOP_KILL, 0, 1, 0),
F_B(LOCOP_REHASH, 0, 1, 0),
F_B(LOCOP_RESTART, 0, 0, 0),
F_B(LOCOP_DIE, 0, 0, 0),
F_B(LOCOP_REHASH, 0, 1, 0),
F_B(LOCOP_RESTART, 0, 0, 0),
F_B(LOCOP_DIE, 0, 0, 0),
Debug((DEBUG_LIST, "Destroying whowas structure for %s", ww->name));
Debug((DEBUG_LIST, "Destroying whowas structure for %s", ww->name));
- MyFree(whowas_clean(ww));
+ whowas_clean(ww);
+ MyFree(ww);