/[svn]/ircd-hybrid/modules/core/m_join.c
ViewVC logotype

Diff of /ircd-hybrid/modules/core/m_join.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 499 by michael, Wed Mar 1 16:26:26 2006 UTC revision 500 by michael, Wed Mar 1 19:35:59 2006 UTC
# Line 237  m_join(struct Client *client_p, struct C Line 237  m_join(struct Client *client_p, struct C
237        chptr->mode.mode |= MODE_TOPICLIMIT;        chptr->mode.mode |= MODE_TOPICLIMIT;
238        chptr->mode.mode |= MODE_NOPRIVMSGS;        chptr->mode.mode |= MODE_NOPRIVMSGS;
239    
240        sendto_server(client_p, source_p, chptr, CAP_TS6, NOCAPS, LL_ICLIENT,        sendto_server(client_p, source_p, chptr, CAP_TS6, NOCAPS,
241                      ":%s SJOIN %lu %s +nt :@%s",                      ":%s SJOIN %lu %s +nt :@%s",
242                      me.id, (unsigned long)chptr->channelts,                      me.id, (unsigned long)chptr->channelts,
243                      chptr->chname, source_p->id);                      chptr->chname, source_p->id);
244        sendto_server(client_p, source_p, chptr, NOCAPS, CAP_TS6, LL_ICLIENT,        sendto_server(client_p, source_p, chptr, NOCAPS, CAP_TS6,
245                      ":%s SJOIN %lu %s +nt :@%s",                      ":%s SJOIN %lu %s +nt :@%s",
246                      me.name, (unsigned long)chptr->channelts,                      me.name, (unsigned long)chptr->channelts,
247                      chptr->chname, parv[0]);                      chptr->chname, source_p->name);
248        /*        /*
249         * notify all other users on the new channel         * notify all other users on the new channel
250         */         */
# Line 256  m_join(struct Client *client_p, struct C Line 256  m_join(struct Client *client_p, struct C
256      }      }
257      else      else
258      {      {
259        sendto_server(client_p, source_p, chptr, CAP_TS6, NOCAPS, LL_ICLIENT,        sendto_server(client_p, source_p, chptr, CAP_TS6, NOCAPS,
260                      ":%s JOIN %lu %s +",                      ":%s JOIN %lu %s +",
261                      source_p->id, (unsigned long)chptr->channelts,                      source_p->id, (unsigned long)chptr->channelts,
262                      chptr->chname);                      chptr->chname);
263        sendto_server(client_p, source_p, chptr, NOCAPS, CAP_TS6, LL_ICLIENT,        sendto_server(client_p, source_p, chptr, NOCAPS, CAP_TS6,
264                      ":%s SJOIN %lu %s + :%s",                      ":%s SJOIN %lu %s + :%s",
265                      me.name, (unsigned long)chptr->channelts,                      me.name, (unsigned long)chptr->channelts,
266                      chptr->chname, source_p->name);                      chptr->chname, source_p->name);

Legend:
Removed from v.499  
changed lines
  Added in v.500

svnadmin@ircd-hybrid.org
ViewVC Help
Powered by ViewVC 1.1.28