- Config->ConfValue("bind", "port", count, configToken, MAXBUF);
- Config->ConfValue("bind", "address", count, Addr, MAXBUF);
- Config->ConfValue("bind", "type", count, Type, MAXBUF);
- Config->ConfValue("bind", "ssl", count, Desc, MAXBUF);
+ ConfigTag* tag = ServerInstance->Config->ConfValue("bind", count);
+ if (!tag)
+ break;
+ std::string porttag = tag->getString("port");
+ std::string Addr = tag->getString("address");
+ std::string Type = tag->getString("type");
+ std::string Desc = tag->getString("ssl");