mirror of
https://github.com/matrix-construct/construct
synced 2024-11-17 07:20:55 +01:00
Hide cmode +r from 005 if there is no service{} block.
This commit is contained in:
parent
428b796aa4
commit
7478545cb2
1 changed files with 2 additions and 1 deletions
|
@ -211,10 +211,11 @@ isupport_chanmodes(void *ptr)
|
||||||
{
|
{
|
||||||
static char result[80];
|
static char result[80];
|
||||||
|
|
||||||
ircsnprintf(result, sizeof result, "%s%sbq,k,%slj,imnpstrcgzLP%s",
|
ircsnprintf(result, sizeof result, "%s%sbq,k,%slj,imnpst%scgzLP%s",
|
||||||
ConfigChannel.use_except ? "e" : "",
|
ConfigChannel.use_except ? "e" : "",
|
||||||
ConfigChannel.use_invex ? "I" : "",
|
ConfigChannel.use_invex ? "I" : "",
|
||||||
ConfigChannel.use_forward ? "f" : "",
|
ConfigChannel.use_forward ? "f" : "",
|
||||||
|
dlink_list_length(&service_list) ? "r" : "",
|
||||||
ConfigChannel.use_forward ? "QF" : "");
|
ConfigChannel.use_forward ? "QF" : "");
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue