--- a/mcabber/mcabber/histolog.c Sat Apr 03 20:39:06 2010 +0200 +++ b/mcabber/mcabber/histolog.c Sat Apr 03 20:41:04 2010 +0200 @@ -55,7 +55,7 @@ return NULL; if (!g_strcmp0(bjid, ".") || !g_strcmp0(bjid, "..") || - strchr(bjid, "/")) + strchr(bjid, '/')) return NULL; lowerid = g_strdup(bjid);