mirror of
https://github.com/matrix-construct/construct
synced 2024-11-26 08:42:34 +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];
|
||||
|
||||
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_invex ? "I" : "",
|
||||
ConfigChannel.use_forward ? "f" : "",
|
||||
dlink_list_length(&service_list) ? "r" : "",
|
||||
ConfigChannel.use_forward ? "QF" : "");
|
||||
return result;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue