NICKLEN, MAXBANS, MODES, NICKLEN, MAXBANS, TOPICLEN, KICKLEN,
AWAYLEN, MAXTARGETS, WALLCHOPS, WALLVOICES, RFC2812, PENALTY,
FNC, SAFELIST, USERIP, CNOTICE, KNOCK, VCHANNELS, WHOX, CALLERID,
- ACCEPT, KEYLEN, USERLEN, HOSTLEN and SILENCE
+ ACCEPT, KEYLEN, USERLEN, HOSTLEN, MAXCHANNELLEN,
+ MAXNICKLEN, DEAF and SILENCE
* Default to binding to 127.0.0.1 if no IP was specified in the
listener, instead of 0.0.0.0.
if (info->invex_mode != '\0')
fs = g_list_append(fs, g_strdup_printf("INVEX=%c", info->invex_mode));
+ if (info->deaf_mode != '\0')
+ fs = g_list_append(fs, g_strdup_printf("DEAF=%c", info->deaf_mode));
+
if (info->maxlist != NULL)
fs = g_list_append(fs, g_strdup_printf("MAXLIST=%s", info->maxlist));
log_global(LOG_WARNING, "Invalid length invex value: %s", val);
else
info->invex_mode = val[0];
+ } else if (!g_strcasecmp(key, "DEAF")) {
+ if (val == NULL)
+ info->deaf_mode = 'D';
+ else if (strlen(val) > 1)
+ log_global(LOG_WARNING, "Invalid length deaf value: %s", val);
+ else
+ info->deaf_mode = val[0];
} else if (!g_strcasecmp(key, "MAXLIST")) {
g_free(info->maxlist);
info->maxlist = g_strdup(val);
* RFC 2811 for more information. */
char invex_mode;
+ /** The server supports dead mode (+d). */
+ char deaf_mode;
+
/** The server supports messaging channel member who have a
* certain status or higher. The status is one of the letters from
* PREFIX. */