X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=citadel%2Fmodules%2Finstmsg%2Fserv_instmsg.c;h=b54276cfd2be36cfa0d3eb648e35d1e16850e17c;hb=7a9b0685e406cc83597171cc39d008c7e5459ca8;hp=fad00f0ef6c28492d5156b962f20492518477c13;hpb=1ab27069271df6ed100343866c93c0ef2eb2a888;p=citadel.git diff --git a/citadel/modules/instmsg/serv_instmsg.c b/citadel/modules/instmsg/serv_instmsg.c index fad00f0ef..b54276cfd 100644 --- a/citadel/modules/instmsg/serv_instmsg.c +++ b/citadel/modules/instmsg/serv_instmsg.c @@ -1,7 +1,7 @@ /* * This module handles instant messaging between users. * - * Copyright (c) 1987-2019 by the citadel.org team + * Copyright (c) 1987-2020 by the citadel.org team * * This program is open source software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 3. @@ -21,18 +21,7 @@ #include #include #include - -#if TIME_WITH_SYS_TIME -# include -# include -#else -# if HAVE_SYS_TIME_H -# include -# else -# include -# endif -#endif - +#include #include #include #include @@ -479,7 +468,7 @@ void flush_individual_conversation(struct imlog *im) { */ snprintf(roomname, sizeof roomname, "%010ld.%s", im->usernums[1], PAGELOGROOM); CtdlCreateRoom(roomname, 5, "", 0, 1, 1, VIEW_BBS); - msgnum = CtdlSubmitMsg(msg, NULL, roomname, 0); + msgnum = CtdlSubmitMsg(msg, NULL, roomname); CM_Free(msg); /* If there is a valid user number in usernums[0], save a copy for them too. */