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 9475 by michael, Sat Jul 4 15:14:57 2020 UTC vs.
Revision 9476 by michael, Sat Jul 4 15:26:19 2020 UTC

# Line 457 | Line 457 | channel_pub_or_secret(const struct Chann
457   /*! \brief lists all names on given channel
458   * \param client   Pointer to client struct requesting names
459   * \param channel  Pointer to channel block
460 * \param show_eon Show RPL_ENDOFNAMES numeric or not
461 *                 (don't want it with /names with no params)
460   */
461   void
462 < channel_send_namereply(struct Client *client, struct Channel *channel, bool show_eon)
462 > channel_send_namereply(struct Client *client, struct Channel *channel)
463   {
464    dlink_node *node;
465    char buf[IRCD_BUFSIZE + 1];
# Line 521 | Line 519 | channel_send_namereply(struct Client *cl
519      }
520    }
521  
522 <  if (show_eon == true)
525 <    sendto_one_numeric(client, &me, RPL_ENDOFNAMES, channel->name);
522 >  sendto_one_numeric(client, &me, RPL_ENDOFNAMES, channel->name);
523   }
524  
525   /* member_get_prefix()
# Line 1071 | Line 1068 | channel_do_join(struct Client *client, c
1068                           channel->topic_info, channel->topic_time);
1069      }
1070  
1071 <    channel_send_namereply(client, channel, true);
1071 >    channel_send_namereply(client, channel);
1072  
1073      client->connection->last_join_time = event_base->time.sec_monotonic;
1074    }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines