0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-10-02 21:59:02 +02:00

Remove an unnecessary check for &channels -- sendto_server() already does it.

This commit is contained in:
Jilles Tjoelker 2008-07-31 18:11:36 +02:00
parent 095efcf0fc
commit db2545b11e

View 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);
}
chptr->chname, modes, source_p->id);
}
else
{