configure.in (--with-malloc): Mention the awesome 'slab' allocator option.
src/nickserv.c (cmd_merge): Copy fakehost to target account if appropriate.
git-archimport-id: srvx@srvx.net--2005-srvx/srvx--devo--1.3--patch-17
# arch-tag: automatic-ChangeLog--srvx@srvx.net--2005-srvx/srvx--devo--1.3
#
+2005-02-11 03:10:49 GMT Michael Poole <mdpoole@troilus.org> patch-17
+
+ Summary:
+ Mention 'slab' in --with-malloc docs. Merge fakehosts when merging accounts.
+ Revision:
+ srvx--devo--1.3--patch-17
+
+ configure.in (--with-malloc): Mention the awesome 'slab' allocator option.
+
+ src/nickserv.c (cmd_merge): Copy fakehost to target account if appropriate.
+
+ modified files:
+ ChangeLog configure.in src/nickserv.c
+
+
2005-02-08 04:42:43 GMT Michael Poole <mdpoole@troilus.org> patch-16
Summary:
AC_MSG_CHECKING(which malloc to use)
AC_ARG_WITH(malloc,
[ --with-malloc=type Enables use of a special malloc library; one of:
- system (the default), boehm-gc, dmalloc, mpatrol, srvx],
+ system (the default), boehm-gc, dmalloc, mpatrol, srvx, slab],
[],
[withval="system"])
if test "x$withval" = "xsystem" ; then
if (hi_from->lastseen > hi_to->lastseen)
hi_to->lastseen = hi_from->lastseen;
+ /* Does a fakehost carry over? (This intentionally doesn't set it
+ * for users previously attached to hi_to. They'll just have to
+ * reconnect.)
+ */
+ if (hi_from->fakehost && !hi_to->fakehost)
+ hi_to->fakehost = strdup(hi_from->fakehost);
+
/* Notify of success. */
sprintf(buffer, "%s (%s) merged account %s into %s.", user->nick, user->handle_info->handle, hi_from->handle, hi_to->handle);
reply("NSMSG_HANDLES_MERGED", hi_from->handle, hi_to->handle);