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 0503340b0..37ebe08ca 100644 --- a/src/config.cpp +++ b/src/config.cpp @@ -210,8 +210,8 @@ Conf::Conf() : Block(""), EmptyBlock("") int port = 0; if (protocol != AF_UNIX) { - ValidateNotZero("uplink", "port", port); port = uplink->Get<int>("port"); + ValidateNotZero("uplink", "port", port); } const Anope::string &password = uplink->Get<const Anope::string>("password"); |