aboutsummaryrefslogtreecommitdiffstats
path: root/src/configparser.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2022-06-25 17:03:25 +0100
committerGravatar Sadie Powell2022-06-25 17:03:25 +0100
commitb80f71e88f0d42b47bce1652c22f6c667f0a7a28 (patch)
tree7c778a04c8b01c86be64bfb7676032bb6beef195 /src/configparser.cpp
parentModernize the syntax of various templates. (diff)
downloadinspircd++-b80f71e88f0d42b47bce1652c22f6c667f0a7a28.tar.gz
inspircd++-b80f71e88f0d42b47bce1652c22f6c667f0a7a28.tar.bz2
inspircd++-b80f71e88f0d42b47bce1652c22f6c667f0a7a28.zip
Fix an inverted condition in configparser.
Diffstat (limited to 'src/configparser.cpp')
-rw-r--r--src/configparser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/configparser.cpp b/src/configparser.cpp
index 1ab4b811c..4c7cd3141 100644
--- a/src/configparser.cpp
+++ b/src/configparser.cpp
@@ -418,7 +418,7 @@ void ParseStack::DoInclude(std::shared_ptr<ConfigTag> tag, int flags)
FilePtr ParseStack::DoOpenFile(const std::string& name, bool isexec)
{
- ServerInstance->Logs.Debug("CONFIG", "Opening %s: %s", isexec ? "file" : "executable", name.c_str());
+ ServerInstance->Logs.Debug("CONFIG", "Opening %s: %s", isexec ? "executable" : "file", name.c_str());
if (isexec)
return FilePtr(popen(name.c_str(), "r"), pclose);
else