* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
-/* @file
+/** @file
* @brief Implementation of configurable feature support.
* @version $Id$
*/
#include "sys.h" /* FALSE bleah */
#include "whowas.h" /* whowas_realloc */
-#include <assert.h>
+/* #include <assert.h> -- Now using assert in ircd_log.h */
#include <stdlib.h>
#include <string.h>
static struct LogTypes {
char *type; /**< Settable name. */
int (*set)(const char *, const char *); /**< Function to set the value. */
- char *(*get)(const char *); /**< Functino to get the value. */
+ char *(*get)(const char *); /**< Function to get the value. */
} logTypes[] = {
{ "FILE", log_set_file, log_get_file },
{ "FACILITY", log_set_facility, log_get_facility },
/** Sets a feature to the given value.
* @param[in] from Client trying to set parameters.
- * @param[in] fields Array of paraters to set.
+ * @param[in] fields Array of parameters to set.
* @param[in] count Number of fields in \a count.
* @return <0 to clear the feature mark, 0 to leave it, >0 to set the feature mark.
*/
typedef int (*feat_set_call)(struct Client* from, const char* const* fields, int count);
/** Gets the value of a feature.
* @param[in] from Client trying to get parameters.
- * @param[in] fields Array of paraters to set.
+ * @param[in] fields Array of parameters to set.
* @param[in] count Number of fields in \a count.
*/
typedef void (*feat_get_call)(struct Client* from, const char* const* fields, int count);
F_B(HIS_STATS_f, 0, 1, 0),
F_B(HIS_STATS_i, 0, 1, 0),
F_B(HIS_STATS_j, 0, 1, 0),
+ F_B(HIS_STATS_J, 0, 1, 0),
F_B(HIS_STATS_M, 0, 1, 0),
F_B(HIS_STATS_m, 0, 1, 0),
F_B(HIS_STATS_o, 0, 1, 0),