$OpenBSD: patch-src_fe-common_core_fe-log_c,v 1.1 2011/11/16 10:16:57 sthen Exp $
--- src/fe-common/core/fe-log.c.orig	Sun Nov  6 04:58:47 2011
+++ src/fe-common/core/fe-log.c	Sun Nov  6 04:58:51 2011
@@ -435,7 +435,7 @@ static void autolog_open(SERVER_REC *server, const cha
 	   '%' -> '%%' - so strftime() won't mess with them */
 	fixed_target = escape_target(target);
 	if (CHAT_PROTOCOL(server)->case_insensitive)
-		g_strdown(fixed_target);
+		ascii_strdown(fixed_target);
 
         /* $0 = target, $1 = server tag */
         params = g_strconcat(fixed_target, " ", server_tag, NULL);
