/*
* InspIRCd -- Internet Relay Chat Daemon
*
- * Copyright (C) 2013, 2018-2019 Sadie Powell <sadie@witchery.services>
+ * Copyright (C) 2013, 2018-2020 Sadie Powell <sadie@witchery.services>
* Copyright (C) 2012-2014 Attila Molnar <attilamolnar@hush.com>
* Copyright (C) 2012 Robby <robby@chatbelgie.be>
* Copyright (C) 2009 Robin Burchell <robin+git@viroteck.net>
insp::flat_set<int> ports;
const std::string portlist = tag->getString("ports");
- if (!ports.empty())
+ if (!portlist.empty())
{
irc::portparser portrange(portlist, false);
while (int port = portrange.GetToken())