X-Git-Url: http://git.silcnet.org/gitweb/?a=blobdiff_plain;f=apps%2Fsilcd%2Fserver_util.c;h=ea53991371ac1606f17f8c5eb89362a4ae0a617d;hb=f5ff7cf783e9df23f91fe5fcf3da13a1b8373311;hp=d9d2319cf4b8451d23388d07b92ae41bc0420f59;hpb=2ac34d9c9117bfe850122c00b3001fd1b8a5d88a;p=silc.git diff --git a/apps/silcd/server_util.c b/apps/silcd/server_util.c index d9d2319c..ea539913 100644 --- a/apps/silcd/server_util.c +++ b/apps/silcd/server_util.c @@ -1018,6 +1018,10 @@ bool silc_server_check_cmode_rights(SilcServer server, if (is_op && is_fo) return TRUE; + /* Founder emplies operator */ + if (is_fo) + is_op = TRUE; + /* We know that client is channel operator, check that they are not changing anything that requires channel founder rights. Rest of the modes are available automatically for channel operator. */