/[svn]/ircd-hybrid/trunk/modules/m_info.c
ViewVC logotype

Diff of /ircd-hybrid/trunk/modules/m_info.c

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

revision 5890 by michael, Sun May 3 16:04:15 2015 UTC revision 5891 by michael, Sun May 3 19:15:01 2015 UTC
# Line 165  static const struct InfoStruct info_tabl Line 165  static const struct InfoStruct info_tabl
165      &ConfigChannel.invite_client_count,      &ConfigChannel.invite_client_count,
166      "How many INVITE attempts are permitted in invite_client_time"      "How many INVITE attempts are permitted in invite_client_time"
167    },    },
   
168    {    {
169      "invite_client_time",      "invite_client_time",
170      OUTPUT_DECIMAL,      OUTPUT_DECIMAL,
# Line 605  send_conf_options(struct Client *source_ Line 604  send_conf_options(struct Client *source_
604        /* Output info_table[i].option as a decimal value. */        /* Output info_table[i].option as a decimal value. */
605        case OUTPUT_DECIMAL:        case OUTPUT_DECIMAL:
606        {        {
607          const int option = *((const int *const)iptr->option);          const unsigned int option = *((const unsigned int *const)iptr->option);
608    
609          sendto_one_numeric(source_p, &me, RPL_INFO | SND_EXPLICIT,          sendto_one_numeric(source_p, &me, RPL_INFO | SND_EXPLICIT,
610                             ":%-30s %-5d [%s]",                             ":%-30s %-5u [%s]",
611                             iptr->name, option, iptr->desc ? iptr->desc : "<none>");                             iptr->name, option, iptr->desc ? iptr->desc : "<none>");
612          break;          break;
613        }        }
# Line 616  send_conf_options(struct Client *source_ Line 615  send_conf_options(struct Client *source_
615        /* Output info_table[i].option as "ON" or "OFF" */        /* Output info_table[i].option as "ON" or "OFF" */
616        case OUTPUT_BOOLEAN:        case OUTPUT_BOOLEAN:
617        {        {
618          const int option = *((const int *const)iptr->option);          const unsigned int option = *((const unsigned int *const)iptr->option);
619    
620          sendto_one_numeric(source_p, &me, RPL_INFO | SND_EXPLICIT,          sendto_one_numeric(source_p, &me, RPL_INFO | SND_EXPLICIT,
621                             ":%-30s %-5s [%s]",                             ":%-30s %-5s [%s]",
# Line 629  send_conf_options(struct Client *source_ Line 628  send_conf_options(struct Client *source_
628        /* Output info_table[i].option as "YES" or "NO" */        /* Output info_table[i].option as "YES" or "NO" */
629        case OUTPUT_BOOLEAN_YN:        case OUTPUT_BOOLEAN_YN:
630        {        {
631          const int option = *((const int *const)iptr->option);          const unsigned int option = *((const unsigned int *const)iptr->option);
632    
633          sendto_one_numeric(source_p, &me, RPL_INFO | SND_EXPLICIT,          sendto_one_numeric(source_p, &me, RPL_INFO | SND_EXPLICIT,
634                             ":%-30s %-5s [%s]",                             ":%-30s %-5s [%s]",
# Line 640  send_conf_options(struct Client *source_ Line 639  send_conf_options(struct Client *source_
639    
640        case OUTPUT_BOOLEAN2:        case OUTPUT_BOOLEAN2:
641        {        {
642          const int option = *((const int *const)iptr->option);          const unsigned int option = *((const unsigned int *const)iptr->option);
643    
644          sendto_one_numeric(source_p, &me, RPL_INFO | SND_EXPLICIT,          sendto_one_numeric(source_p, &me, RPL_INFO | SND_EXPLICIT,
645                             ":%-30s %-5s [%s]",                             ":%-30s %-5s [%s]",

Legend:
Removed from v.5890  
changed lines
  Added in v.5891

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