aboutsummaryrefslogtreecommitdiff
path: root/src/configreader.cpp
diff options
context:
space:
mode:
authorGravatar Attila Molnar2014-06-17 13:45:57 +0200
committerGravatar Attila Molnar2014-06-17 13:45:57 +0200
commit782c8303d7dbf379e1cd807b59ec6a0ba701ca7d (patch)
treec0caac4cf1569bcaa645193c5ba397e4b331b50d /src/configreader.cpp
parentm_spanningtree Remove server-to-server VERSION handler (diff)
Update the description field in the Server object representing the local server on rehash
Diffstat (limited to 'src/configreader.cpp')
-rw-r--r--src/configreader.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/configreader.cpp b/src/configreader.cpp
index 0ec53c482..a922543a3 100644
--- a/src/configreader.cpp
+++ b/src/configreader.cpp
@@ -783,6 +783,9 @@ void ConfigReaderThread::Finish()
for (ModuleManager::ModuleMap::const_iterator i = mods.begin(); i != mods.end(); ++i)
i->second->ReadConfig(status);
+ // The description of this server may have changed - update it for WHOIS etc.
+ ServerInstance->FakeClient->server->description = Config->ServerDesc;
+
ServerInstance->ISupport.Build();
ServerInstance->Logs->CloseLogs();