"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/s_serv.c" between
bahamut-2.1.4.tar.gz and bahamut-2.1.5.tar.gz

About: Bahamut is an Internet Relay Chat Daemon (IRCd) designed for DALnet, one of the major IRC networks in the world.

s_serv.c  (bahamut-2.1.4):s_serv.c  (bahamut-2.1.5)
skipping to change at line 1814 skipping to change at line 1814
return 0; return 0;
} }
#endif #endif
else if (mycmp(option, "CONF") == 0) else if (mycmp(option, "CONF") == 0)
{ {
if (!MyClient(sptr)) if (!MyClient(sptr))
sendto_one(sptr, ":%s NOTICE %s :Rehashing server config file", me.name, sender); sendto_one(sptr, ":%s NOTICE %s :Rehashing server config file", me.name, sender);
else else
sendto_one(sptr, rpl_str(RPL_REHASHING), me.name, sender, configfile); sendto_one(sptr, rpl_str(RPL_REHASHING), me.name, sender, configfile);
sendto_ops("%s is rehashing Server config file while whistline in nocently", sender); sendto_ops("%s is rehashing Server config file while whistling in nocently", sender);
#ifdef USE_SYSLOG #ifdef USE_SYSLOG
syslog(LOG_INFO, "REHASH from %s\n", get_client_name(sptr, FALSE) ); syslog(LOG_INFO, "REHASH from %s\n", get_client_name(sptr, FALSE) );
#endif #endif
return rehash(cptr, sptr, 0); return rehash(cptr, sptr, 0);
} }
else else
{ {
sendto_one(sptr, ":%s NOTICE %s :Invalid rehash option (%s) given . Rehash aborted.", me.name, sender, option); sendto_one(sptr, ":%s NOTICE %s :Invalid rehash option (%s) given . Rehash aborted.", me.name, sender, option);
skipping to change at line 3188 skipping to change at line 3188
struct FlagList *xflag; struct FlagList *xflag;
if((chptr = find_channel(parv[2], NULL))) if((chptr = find_channel(parv[2], NULL)))
{ {
sendto_one(sptr, "NOTICE %s :CHECK CHANNEL: %s", parv[0], chptr->chn ame); sendto_one(sptr, "NOTICE %s :CHECK CHANNEL: %s", parv[0], chptr->chn ame);
sendto_one(sptr, "NOTICE %s :JOIN_CONNECT_TIME: %d", parv[0], chptr- >join_connect_time); sendto_one(sptr, "NOTICE %s :JOIN_CONNECT_TIME: %d", parv[0], chptr- >join_connect_time);
sendto_one(sptr, "NOTICE %s :TALK_CONNECT_TIME: %d", parv[0], chptr- >talk_connect_time); sendto_one(sptr, "NOTICE %s :TALK_CONNECT_TIME: %d", parv[0], chptr- >talk_connect_time);
sendto_one(sptr, "NOTICE %s :TALK_JOIN_TIME: %d", parv[0], chptr->ta lk_join_time); sendto_one(sptr, "NOTICE %s :TALK_JOIN_TIME: %d", parv[0], chptr->ta lk_join_time);
sendto_one(sptr, "NOTICE %s :MAX_BANS: %d", parv[0], chptr->max_bans ); sendto_one(sptr, "NOTICE %s :MAX_BANS: %d", parv[0], chptr->max_bans );
sendto_one(sptr, "NOTICE %s :MAX_INVITES: %d", parv[0], chptr->max_i nvites); sendto_one(sptr, "NOTICE %s :MAX_INVITES: %d", parv[0], chptr->max_i nvites);
sendto_one(sptr, "NOTICE %s :MAX_MSG_TIME: %d:%d", parv[0], chptr->m ax_messages, chptr->max_messages_time);
sendto_one(sptr, "NOTICE %s :GREETMSG: %s", parv[0], chptr->greetmsg ?chptr->greetmsg:"<NONE>"); sendto_one(sptr, "NOTICE %s :GREETMSG: %s", parv[0], chptr->greetmsg ?chptr->greetmsg:"<NONE>");
for(xflag = xflags_list; xflag->option; xflag++) for(xflag = xflags_list; xflag->option; xflag++)
{ {
if(!strcmp(xflag->option,"USER_VERBOSE") || !strcmp(xflag->optio n,"OPER_VERBOSE")) continue; if(!strcmp(xflag->option,"USER_VERBOSE") || !strcmp(xflag->optio n,"OPER_VERBOSE")) continue;
sendto_one(sptr, "NOTICE %s :%s: %s", parv[0], xflag->option, (c hptr->xflags & xflag->flag)?"On":"Off"); sendto_one(sptr, "NOTICE %s :%s: %s", parv[0], xflag->option, (c hptr->xflags & xflag->flag)?"On":"Off");
} }
sendto_one(sptr, "NOTICE %s :*** End of Check ***", parv[0]); sendto_one(sptr, "NOTICE %s :*** End of Check ***", parv[0]);
} }
else else
{ {
 End of changes. 2 change blocks. 
1 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)