]> jfr.im git - solanum.git/blobdiff - modules/core/m_join.c
Move to ratbox3 reject and throttle code.
[solanum.git] / modules / core / m_join.c
index 5f8b98116ec9ed32a025f01a7f8808f90ba346c8..2f51663d2e699dd9472c87207398c0a18cab4fe0 100644 (file)
@@ -347,14 +347,10 @@ m_join(struct Client *client_p, struct Client *source_p, int parc, const char *p
                        sendto_channel_local(ONLY_CHANOPS, chptr, ":%s MODE %s %s",
                                             me.name, chptr->chname, modes);
 
-                       if(*chptr->chname == '#')
-                       {
-                               sendto_server(client_p, chptr, CAP_TS6, NOCAPS,
-                                             ":%s SJOIN %ld %s %s :@%s",
-                                             me.id, (long) chptr->channelts,
-                                             chptr->chname, modes,
-                                             source_p->id);
-                       }
+                       sendto_server(client_p, chptr, CAP_TS6, NOCAPS,
+                                     ":%s SJOIN %ld %s %s :@%s",
+                                     me.id, (long) chptr->channelts,
+                                     chptr->chname, modes, source_p->id);
                }
                else
                {