Hide cmode +r from 005 if there is no service{} block.

This commit is contained in:
Jilles Tjoelker 2008-03-11 23:56:23 +01:00
parent c4b513f338
commit f1297898f3
1 changed files with 2 additions and 1 deletions

View File

@ -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;
}