From 4a8a96e8fd6296f45dec382c65dbd8234a6672c3 Mon Sep 17 00:00:00 2001 From: Marius Halden Date: Tue, 26 Jan 2016 17:17:32 +0100 Subject: Add strict_away With strict_away enabled RPL_NOWAWAY and RPL_UNAWAY will send the exact text from RFC 1459 instead of the default. --- irc.c | 1 + 1 file changed, 1 insertion(+) (limited to 'irc.c') diff --git a/irc.c b/irc.c index 3703f08f..9cac0742 100644 --- a/irc.c +++ b/irc.c @@ -136,6 +136,7 @@ irc_t *irc_new(int fd) s = set_add(&b->set, "to_char", ": ", set_eval_to_char, irc); s = set_add(&b->set, "typing_notice", "false", set_eval_bool, irc); s = set_add(&b->set, "utf8_nicks", "false", set_eval_utf8_nicks, irc); + s = set_add(&b->set, "strict_away", "false", set_eval_bool, irc); #ifdef WITH_GNUTLS if (global.conf->ssl) { s = set_add(&b->set, "_certfp", NULL, set_eval_certfp, irc); -- cgit v1.2.3