aboutsummaryrefslogtreecommitdiff
path: root/degesch.c
diff options
context:
space:
mode:
authorPřemysl Janouch <p.janouch@gmail.com>2015-07-09 01:48:34 +0200
committerPřemysl Janouch <p.janouch@gmail.com>2015-07-09 01:48:34 +0200
commit2b2da0beab8dc24c79b94b40fed2f9bf08999d82 (patch)
tree6ff6128ed5fa4c2188d88ed0e2528b5372fadc2c /degesch.c
parentf57cc7923db6698fb7bb7a906da52cf3b952a15c (diff)
downloadxK-2b2da0beab8dc24c79b94b40fed2f9bf08999d82.tar.gz
xK-2b2da0beab8dc24c79b94b40fed2f9bf08999d82.tar.xz
xK-2b2da0beab8dc24c79b94b40fed2f9bf08999d82.zip
degesch: support CASEMAPPING=rfc1459-strict
Diffstat (limited to 'degesch.c')
-rw-r--r--degesch.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/degesch.c b/degesch.c
index 556c149..ef77c2a 100644
--- a/degesch.c
+++ b/degesch.c
@@ -5669,12 +5669,11 @@ static void
irc_handle_isupport_casemapping (struct server *s, char *value)
{
if (!strcmp (value, "ascii"))
- irc_set_casemapping (s, tolower_ascii, tolower_ascii_strxfrm);
+ irc_set_casemapping (s, tolower_ascii, tolower_ascii_strxfrm);
else if (!strcmp (value, "rfc1459"))
- irc_set_casemapping (s, irc_tolower, irc_strxfrm);
+ irc_set_casemapping (s, irc_tolower, irc_strxfrm);
else if (!strcmp (value, "rfc1459-strict"))
- // TODO: implement
- irc_set_casemapping (s, irc_tolower, irc_strxfrm);
+ irc_set_casemapping (s, irc_tolower_strict, irc_strxfrm_strict);
}
static void