ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/trunk/src/channel.c
(Generate patch)

Comparing ircd-hybrid/trunk/src/channel.c (file contents):
Revision 6759 by michael, Fri Nov 13 18:23:37 2015 UTC vs.
Revision 6782 by michael, Sun Nov 15 18:49:32 2015 UTC

# Line 160 | Line 160 | channel_send_members(struct Client *clie
160    int tlen;              /* length of text to append */
161    char *t, *start;       /* temp char pointer */
162  
163 <  start = t = buf + snprintf(buf, sizeof(buf), ":%s SJOIN %lu %s %s %s:",
164 <                             me.id, (unsigned long)chptr->creationtime,
163 >  start = t = buf + snprintf(buf, sizeof(buf), ":%s SJOIN %ju %s %s %s:",
164 >                             me.id, chptr->creationtime,
165                               chptr->name, modebuf, parabuf);
166  
167    DLINK_FOREACH(node, chptr->members.head)
# Line 227 | Line 227 | channel_send_mask_list(struct Client *cl
227    if (!list->length)
228      return;
229  
230 <  mlen = snprintf(mbuf, sizeof(mbuf), ":%s BMASK %lu %s %c :", me.id,
231 <                  (unsigned long)chptr->creationtime, chptr->name, flag);
230 >  mlen = snprintf(mbuf, sizeof(mbuf), ":%s BMASK %ju %s %c :", me.id,
231 >                  chptr->creationtime, chptr->name, flag);
232    cur_len = mlen;
233  
234    DLINK_FOREACH(node, list->head)
# Line 1039 | Line 1039 | channel_do_join(struct Client *client_p,
1039        chptr->mode.mode |= MODE_TOPICLIMIT;
1040        chptr->mode.mode |= MODE_NOPRIVMSGS;
1041  
1042 <      sendto_server(client_p, 0, 0, ":%s SJOIN %lu %s +nt :@%s",
1043 <                    me.id, (unsigned long)chptr->creationtime,
1042 >      sendto_server(client_p, 0, 0, ":%s SJOIN %ju %s +nt :@%s",
1043 >                    me.id, chptr->creationtime,
1044                      chptr->name, client_p->id);
1045  
1046        /*
# Line 1065 | Line 1065 | channel_do_join(struct Client *client_p,
1065      }
1066      else
1067      {
1068 <      sendto_server(client_p, 0, 0, ":%s JOIN %lu %s +",
1069 <                    client_p->id, (unsigned long)chptr->creationtime,
1068 >      sendto_server(client_p, 0, 0, ":%s JOIN %ju %s +",
1069 >                    client_p->id, chptr->creationtime,
1070                      chptr->name);
1071  
1072        sendto_channel_local(NULL, chptr, 0, CAP_EXTENDED_JOIN, 0, ":%s!%s@%s JOIN %s %s :%s",

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)