/*
* InspIRCd -- Internet Relay Chat Daemon
*
- * Copyright (C) 2013, 2019 Sadie Powell <sadie@witchery.services>
+ * Copyright (C) 2013, 2019-2020 Sadie Powell <sadie@witchery.services>
* Copyright (C) 2013 Attila Molnar <attilamolnar@hush.com>
*
* This file is part of InspIRCd. InspIRCd is free software: you can
return fragment;
// The fragment is relative to a home directory, expand that.
- if (fragment.compare(0, 2, "~/", 2))
+ if (!fragment.compare(0, 2, "~/", 2))
{
const char* homedir = getenv("HOME");
if (homedir && *homedir)