projects
/
silc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
updates
[silc.git]
/
apps
/
silcd
/
server.c
diff --git
a/apps/silcd/server.c
b/apps/silcd/server.c
index 64b3319ba0b333718a7d6ea5307e332834068c4d..c36df5b06e6887f3250118af31e44e0c0d12092a 100644
(file)
--- a/
apps/silcd/server.c
+++ b/
apps/silcd/server.c
@@
-2252,6
+2252,9
@@
void silc_server_remove_from_channels(SilcServer server,
SILC_LOG_DEBUG(("Start"));
+ if (!client || !client->id)
+ return;
+
clidp = silc_id_payload_encode(client->id, SILC_ID_CLIENT);
/* Remove the client from all channels. The client is removed from