parent
83cf65e493
commit
39f9e19cb6
|
@ -274,7 +274,7 @@ ms_bmask(struct Client *client_p, struct Client *source_p, int parc, const char
|
||||||
mems = ONLY_CHANOPS;
|
mems = ONLY_CHANOPS;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 'q':
|
case 'y':
|
||||||
banlist = &chptr->quietlist;
|
banlist = &chptr->quietlist;
|
||||||
mode_type = CHFL_QUIET;
|
mode_type = CHFL_QUIET;
|
||||||
mems = ALL_MEMBERS;
|
mems = ALL_MEMBERS;
|
||||||
|
|
|
@ -147,7 +147,7 @@ construct_cflag_param_string(void)
|
||||||
ConfigChannel.use_forward ? "f" : "",
|
ConfigChannel.use_forward ? "f" : "",
|
||||||
ConfigChannel.use_halfop ? "h" : "",
|
ConfigChannel.use_halfop ? "h" : "",
|
||||||
strchr(ConfigChannel.disabledmodes, 'j') ? "" : "j",
|
strchr(ConfigChannel.disabledmodes, 'j') ? "" : "j",
|
||||||
strchr(ConfigChannel.disabledmodes, 'q') ? "" : "q",
|
strchr(ConfigChannel.disabledmodes, 'y') ? "" : "y",
|
||||||
ConfigChannel.use_invex ? "I" : "");
|
ConfigChannel.use_invex ? "I" : "");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1874,7 +1874,7 @@ struct ChannelMode chmode_table[256] = {
|
||||||
{chm_voice, 0 }, /* v */
|
{chm_voice, 0 }, /* v */
|
||||||
{chm_nosuch, 0 }, /* w */
|
{chm_nosuch, 0 }, /* w */
|
||||||
{chm_nosuch, 0 }, /* x */
|
{chm_nosuch, 0 }, /* x */
|
||||||
{chm_nosuch, 0 }, /* y */
|
{chm_ban, CHFL_QUIET }, /* y */
|
||||||
{chm_simple, MODE_OPMODERATE }, /* z */
|
{chm_simple, MODE_OPMODERATE }, /* z */
|
||||||
|
|
||||||
{chm_nosuch, 0 }, /* 0x7b */
|
{chm_nosuch, 0 }, /* 0x7b */
|
||||||
|
|
|
@ -749,8 +749,8 @@ static const char * replies[] = {
|
||||||
/* 725 RPL_TESTLINE */ ":%s 725 %s %c %ld %s :%s",
|
/* 725 RPL_TESTLINE */ ":%s 725 %s %c %ld %s :%s",
|
||||||
/* 726 RPL_NOTESTLINE */ ":%s 726 %s %s :No matches",
|
/* 726 RPL_NOTESTLINE */ ":%s 726 %s %s :No matches",
|
||||||
/* 727 RPL_TESTMASKGECOS */ ":%s 727 %s %d %d %s!%s@%s %s :Local/remote clients match",
|
/* 727 RPL_TESTMASKGECOS */ ":%s 727 %s %d %d %s!%s@%s %s :Local/remote clients match",
|
||||||
/* 728 RPL_QUIETLIST */ ":%s 728 %s %s q %s %s %lu",
|
/* 728 RPL_QUIETLIST */ ":%s 728 %s %s y %s %s %lu",
|
||||||
/* 729 RPL_ENDOFQUIETLIST */ ":%s 729 %s %s q :End of Channel Quiet List",
|
/* 729 RPL_ENDOFQUIETLIST */ ":%s 729 %s %s y :End of Channel Quiet List",
|
||||||
/* 730 RPL_MONONLINE */ ":%s 730 %s :%s",
|
/* 730 RPL_MONONLINE */ ":%s 730 %s :%s",
|
||||||
/* 731 RPL_MONOFFLINE */ ":%s 731 %s :%s",
|
/* 731 RPL_MONOFFLINE */ ":%s 731 %s :%s",
|
||||||
/* 732 RPL_MONLIST */ ":%s 732 %s :%s",
|
/* 732 RPL_MONLIST */ ":%s 732 %s :%s",
|
||||||
|
|
|
@ -947,8 +947,8 @@ validate_conf(void)
|
||||||
cflag_orphan('Q');
|
cflag_orphan('Q');
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if(*dm == 'q') {
|
if(*dm == 'y') {
|
||||||
cflag_orphan('q');
|
cflag_orphan('y');
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if(*dm == 'I') {
|
if(*dm == 'I') {
|
||||||
|
|
|
@ -658,7 +658,7 @@ burst_TS6(struct Client *client_p)
|
||||||
burst_modes_TS6(client_p, chptr, &chptr->invexlist, 'I');
|
burst_modes_TS6(client_p, chptr, &chptr->invexlist, 'I');
|
||||||
|
|
||||||
if(rb_dlink_list_length(&chptr->quietlist) > 0)
|
if(rb_dlink_list_length(&chptr->quietlist) > 0)
|
||||||
burst_modes_TS6(client_p, chptr, &chptr->quietlist, 'q');
|
burst_modes_TS6(client_p, chptr, &chptr->quietlist, 'y');
|
||||||
|
|
||||||
if(IsCapable(client_p, CAP_TB) && chptr->topic != NULL)
|
if(IsCapable(client_p, CAP_TB) && chptr->topic != NULL)
|
||||||
sendto_one(client_p, ":%s TB %s %ld %s%s:%s",
|
sendto_one(client_p, ":%s TB %s %ld %s%s:%s",
|
||||||
|
|
|
@ -222,7 +222,7 @@ isupport_chanmodes(const void *ptr)
|
||||||
rb_snprintf(result, sizeof result, "%s%sb%s,k,%sl%s,%s",
|
rb_snprintf(result, sizeof result, "%s%sb%s,k,%sl%s,%s",
|
||||||
ConfigChannel.use_except ? "e" : "",
|
ConfigChannel.use_except ? "e" : "",
|
||||||
ConfigChannel.use_invex ? "I" : "",
|
ConfigChannel.use_invex ? "I" : "",
|
||||||
strchr(ConfigChannel.disabledmodes, 'q') ? "" : "q",
|
strchr(ConfigChannel.disabledmodes, 'y') ? "" : "y",
|
||||||
ConfigChannel.use_forward ? "f" : "",
|
ConfigChannel.use_forward ? "f" : "",
|
||||||
strchr(ConfigChannel.disabledmodes, 'j') ? "" : "j",
|
strchr(ConfigChannel.disabledmodes, 'j') ? "" : "j",
|
||||||
cflagsbuf);
|
cflagsbuf);
|
||||||
|
|
Loading…
Reference in New Issue