projects
/
silc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7b3aca5
)
bug fix in send_notify_on_channels.
author
Pekka Riikonen
<priikone@silcnet.org>
Wed, 1 Nov 2000 13:39:28 +0000
(13:39 +0000)
committer
Pekka Riikonen
<priikone@silcnet.org>
Wed, 1 Nov 2000 13:39:28 +0000
(13:39 +0000)
apps/silcd/server.c
patch
|
blob
|
history
diff --git
a/apps/silcd/server.c
b/apps/silcd/server.c
index c36df5b06e6887f3250118af31e44e0c0d12092a..3611f4293bb669032be1fcf6f3b2feab5c51dc31 100644
(file)
--- a/
apps/silcd/server.c
+++ b/
apps/silcd/server.c
@@
-2837,6
+2837,9
@@
void silc_server_send_notify_on_channels(SilcServer server,
for (i = 0; i < client->channel_count; i++) {
channel = client->channel[i];
+ if (!channel)
+ continue;
+
/* Send the message to clients on the channel's client list. */
silc_list_start(channel->user_list);
while ((chl = silc_list_get(channel->user_list)) != SILC_LIST_END) {