Add support for autosendcmd on channel entries to the
[silc.git] / apps / irssi / src / silc / core / client_ops.c
index 38e90d0844553855d9cc38cc2497756754e37975..c42a2aa9779bc9c695786a345c85b205e336a6a4 100644 (file)
@@ -1807,8 +1807,8 @@ void silc_command_reply(SilcClient client, SilcClientConnection conn,
       if (!ownnick)
        break;
       nicklist_set_own(CHANNEL(chanrec), ownnick);
-      signal_emit("channel joined", 1, chanrec);
       chanrec->entry = channel_entry;
+      signal_emit("channel joined", 1, chanrec);
 
       if (chanrec->topic)
        printformat_module("fe-common/silc", server,