diff options
Diffstat (limited to 'src/config.cpp')
-rw-r--r-- | src/config.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config.cpp b/src/config.cpp index f323ae6c7..502cb3bac 100644 --- a/src/config.cpp +++ b/src/config.cpp @@ -199,7 +199,7 @@ Conf::Conf() : Block(""), EmptyBlock("") if (password.find(' ') != Anope::string::npos || password[0] == ':') throw ConfigException("uplink:password is not valid"); - this->Uplinks.push_back(Uplink(host, port, password, ipv6)); + this->Uplinks.emplace_back(host, port, password, ipv6); } for (int i = 0; i < this->CountBlock("module"); ++i) |