Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Per Cederqvist
lyskom-server-ceder-1616-generations-topgit
Commits
89133b25
Commit
89133b25
authored
Sep 05, 2000
by
Per Cederqvist
Browse files
(async_i_am_on): Don't send info about secret conferences.
parent
907f2cfe
Changes
1
Show whitespace changes
Inline
Side-by-side
src/server/send-async.c
View file @
89133b25
/*
* $Id: send-async.c,v 0.3
3 1999
/0
7
/05
06:59:17
ceder Exp $
* $Id: send-async.c,v 0.3
4 2000
/0
9
/05
19:55:00
ceder Exp $
* Copyright (C) 1991, 1993-1999 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
...
...
@@ -34,7 +34,7 @@
#endif
static
const
char
*
rcsid
=
"$Id: send-async.c,v 0.3
3 1999
/0
7
/05
06:59:17
ceder Exp $"
;
rcsid
=
"$Id: send-async.c,v 0.3
4 2000
/0
9
/05
19:55:00
ceder Exp $"
;
#include
"rcs.h"
USE
(
rcsid
);
...
...
@@ -114,6 +114,7 @@ async_i_am_on(Who_info info)
{
Connection
*
cptr
;
Session_no
i
=
0
;
Who_info
filtered
;
if
(
!
param
.
send_async_messages
)
return
;
...
...
@@ -122,13 +123,17 @@ async_i_am_on(Who_info info)
{
cptr
=
get_conn_by_number
(
i
);
filtered
=
info
;
filtered
.
working_conference
=
filter_conf_no
(
info
.
working_conference
,
cptr
);
switch
(
cptr
->
protocol
)
{
case
0
:
/* Not yet logged on. */
break
;
case
'A'
:
if
(
cptr
->
username_valid
==
TRUE
)
prot_a_async_i_am_on
(
cptr
,
info
);
prot_a_async_i_am_on
(
cptr
,
filtered
);
break
;
default:
restart_kom
(
"async_i_am_on(): bad protocol.
\n
"
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment