Commit 53ce681a authored by Per Cederqvist's avatar Per Cederqvist
Browse files

(send_message): Handle passive_message_invert.

parent 467e7ac2
/* /*
* $Id: admin.c,v 0.52 2002/11/25 16:28:31 ceder Exp $ * $Id: admin.c,v 0.53 2003/01/12 19:56:25 ceder Exp $
* Copyright (C) 1991, 1993-1999, 2001-2002 Lysator Academic Computer Association. * Copyright (C) 1991, 1993-1999, 2001-2002 Lysator Academic Computer Association.
* *
* This file is part of the LysKOM server. * This file is part of the LysKOM server.
...@@ -279,7 +279,8 @@ send_message (Conf_no recipient, ...@@ -279,7 +279,8 @@ send_message (Conf_no recipient,
{ {
/* Don't send messages to passive members */ /* Don't send messages to passive members */
if (conf_c->members.members[ix].type.passive) if (conf_c->members.members[ix].type.passive ^
conf_c->members.members[ix].type.passive_message_invert)
continue; continue;
/* Send message to appropriate sessions */ /* Send message to appropriate sessions */
......
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