Mercurial > irccd
changeset 855:199b146e8163
irccd: fix options.hpp
author | David Demelier <markand@malikania.fr> |
---|---|
date | Wed, 24 Jul 2019 20:59:00 +0000 |
parents | eac2cc421f49 |
children | 6c4fb8f42aca |
files | libirccd/irccd/options.hpp |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libirccd/irccd/options.hpp Wed Jul 17 21:06:43 2019 +0200 +++ b/libirccd/irccd/options.hpp Wed Jul 24 20:59:00 2019 +0000 @@ -125,7 +125,7 @@ * The value is adjacent to the option (e.g. * -csuper.conf). */ - if (idx + 1U < sub.size()) { + if (i + 1U < sub.size()) { std::get<1>(result).emplace(sub[i], std::string(sub.substr(i + 1))); break; }