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 8513 by michael, Fri Apr 6 20:15:02 2018 UTC vs.
Revision 8542 by michael, Sat Sep 15 14:11:43 2018 UTC

# Line 986 | Line 986 | channel_do_join(struct Client *client_p,
986                             client_p->host, chptr->name);
987        sendto_channel_local(NULL, chptr, 0, 0, 0, ":%s MODE %s +nt",
988                             me.name, chptr->name);
989
990      if (client_p->away[0])
991        sendto_channel_local(client_p, chptr, 0, CAP_AWAY_NOTIFY, 0,
992                             ":%s!%s@%s AWAY :%s",
993                             client_p->name, client_p->username,
994                             client_p->host, client_p->away);
989      }
990      else
991      {
# Line 1005 | Line 999 | channel_do_join(struct Client *client_p,
999        sendto_channel_local(NULL, chptr, 0, 0, CAP_EXTENDED_JOIN, ":%s!%s@%s JOIN :%s",
1000                             client_p->name, client_p->username,
1001                             client_p->host, chptr->name);
1008
1009      if (client_p->away[0])
1010        sendto_channel_local(client_p, chptr, 0, CAP_AWAY_NOTIFY, 0,
1011                             ":%s!%s@%s AWAY :%s",
1012                             client_p->name, client_p->username,
1013                             client_p->host, client_p->away);
1002      }
1003  
1004 +    if (client_p->away[0])
1005 +      sendto_channel_local(client_p, chptr, 0, CAP_AWAY_NOTIFY, 0,
1006 +                           ":%s!%s@%s AWAY :%s",
1007 +                           client_p->name, client_p->username,
1008 +                           client_p->host, client_p->away);
1009 +
1010      struct Invite *invite;
1011      if ((invite = find_invite(chptr, client_p)))
1012        del_invite(invite);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines