+Sun Dec 1 20:48:17 EET 2002 Pekka Riikonen <priikone@silcnet.org>
+
+ * Fixed CMODE setting in server when founder mode was set.
+ Affected file silcd/command.c. Bug #95.
+
Sun Dec 1 16:32:03 CET 2002 Jochen Eisinger <c0ffee@penguin-breeder.org>
* Format CMODE +c and +h to display both the mode and the argument
0);
goto out;
}
+ } else {
+ /* If key was not sent and the channel mode has already founder
+ then the key was not to be changed. */
+ if (channel->mode & SILC_CHANNEL_MODE_FOUNDER_AUTH)
+ goto has_founder;
}
/* Set the founder authentication */
channel->founder_key = NULL;
goto out;
}
+ has_founder:
}
} else {
if (chl->mode & SILC_CHANNEL_UMODE_CHANFO) {