updates.
[silc.git] / apps / irssi / src / silc / core / client_ops.c
index eac8f1c0b71b72c910b654befaa9fa31e8aa932a..5c5e33559aa3baaf046d8128f46ecdaa4af0ac5c 100644 (file)
@@ -86,6 +86,8 @@ void silc_channel_message(SilcClient client, SilcClientConnection conn,
   
   server = conn == NULL ? NULL : conn->context;
   chanrec = silc_channel_find_entry(server, channel);
+  if (!chanrec)
+    return;
   
   nick = silc_nicklist_find(chanrec, sender);