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 b3be8599aa
commit 060ea02eec
1 changed files with 4 additions and 8 deletions

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", sendto_channel_local(ONLY_CHANOPS, chptr, ":%s MODE %s %s",
me.name, chptr->chname, modes); me.name, chptr->chname, modes);
if(*chptr->chname == '#') sendto_server(client_p, chptr, CAP_TS6, NOCAPS,
{ ":%s SJOIN %ld %s %s :@%s",
sendto_server(client_p, chptr, CAP_TS6, NOCAPS, me.id, (long) chptr->channelts,
":%s SJOIN %ld %s %s :@%s", chptr->chname, modes, source_p->id);
me.id, (long) chptr->channelts,
chptr->chname, modes,
source_p->id);
}
} }
else else
{ {