/[svn]/ircd-hybrid/trunk/src/channel.c
ViewVC logotype

Diff of /ircd-hybrid/trunk/src/channel.c

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

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

Legend:
Removed from v.9475  
changed lines
  Added in v.9476

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