Commit 36c11aa1 authored by Per Cederqvist's avatar Per Cederqvist
Browse files

(create_text_check_misc): Return KOM_ANON_REJECTED instead of

KOM_ACCESS if the conference does not accept anonymous texts.
parent 8eba0b8e
/*
* $Id: text.c,v 0.41 1996/07/27 15:47:22 ceder Exp $
* $Id: text.c,v 0.42 1996/07/28 15:43:23 ceder Exp $
* Copyright (C) 1991, 1992, 1993, 1994, 1995 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
......@@ -28,7 +28,7 @@
* All atomic calls that deals with texts.
*/
static char *rcsid = "$Id: text.c,v 0.41 1996/07/27 15:47:22 ceder Exp $";
static char *rcsid = "$Id: text.c,v 0.42 1996/07/28 15:43:23 ceder Exp $";
#include "rcs.h"
USE(rcsid);
......@@ -1643,7 +1643,7 @@ create_text_check_misc (u_short * no_of_misc,
if (anonymous && check_anonymous_subm(addressee) != OK)
{
kom_errno = KOM_ACCESS;
kom_errno = KOM_ANON_REJECTED;
return FAILURE;
}
......@@ -1677,7 +1677,7 @@ create_text_check_misc (u_short * no_of_misc,
if (anonymous && check_anonymous_subm(addressee) != OK)
{
kom_errno = KOM_ACCESS;
kom_errno = KOM_ANON_REJECTED;
return FAILURE;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment