Further reorganize and streamline join handling.
[ircu2.10.12-pk.git] / ircd / channel.c
index 85e561285593a8b2e86f8d54d630d5ada1459438..de609e727f5a0f99d36a3e81ea2c1afcd84b0b7b 100644 (file)
@@ -3257,9 +3257,7 @@ joinbuf_join(struct JoinBuf *jbuf, struct Channel *chan, unsigned int flags)
   assert(0 != jbuf);
 
   if (!chan) {
-    if (jbuf->jb_type == JOINBUF_TYPE_JOIN)
-      sendcmdto_serv_butone(jbuf->jb_source, CMD_JOIN, jbuf->jb_connect, "0");
-
+    sendcmdto_serv_butone(jbuf->jb_source, CMD_JOIN, jbuf->jb_connect, "0");
     return;
   }