diff options
| author | 2022-09-03 22:52:53 +0100 | |
|---|---|---|
| committer | 2022-09-03 23:17:05 +0100 | |
| commit | 9203f40f41e4a735d379d13867d277c696fb28c5 (patch) | |
| tree | 93a171344e801b44918229fdd6b8778293ab88aa /src/server.cpp | |
| parent | Fix some warnings noticed by the bugprone-* clang-tidy checkers. (diff) | |
Fix some warnings noticed by the readability-* clang-tidy checkers.
Diffstat (limited to 'src/server.cpp')
| -rw-r--r-- | src/server.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/server.cpp b/src/server.cpp index 95031b6ac..2a59bd5c6 100644 --- a/src/server.cpp +++ b/src/server.cpp @@ -70,10 +70,10 @@ void InspIRCd::QuickExit(int status) void InspIRCd::Rehash(const std::string& uuid) { - if (!ServerInstance->ConfigThread) + if (!ConfigThread) { - ServerInstance->ConfigThread = new ConfigReaderThread(uuid); - ServerInstance->ConfigThread->Start(); + ConfigThread = new ConfigReaderThread(uuid); + ConfigThread->Start(); } } |
