summaryrefslogtreecommitdiff
path: root/src/configreader.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-02-10 23:10:57 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-02-10 23:10:57 +0000
commit750f9e29370ced3fe6f1549acbfada9483eff5f4 (patch)
tree9e0d3f6512c5f62cbccc1bbd1b7b3614f3e3dfab /src/configreader.cpp
parentaa66651cdc6e3aee74e8f0ed2c064fc3daa3fd05 (diff)
Fix rehashing to display a success notice, tidy up some WriteOpers notices
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6570 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/configreader.cpp')
-rw-r--r--src/configreader.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/configreader.cpp b/src/configreader.cpp
index 9e13dfae1..3060b9866 100644
--- a/src/configreader.cpp
+++ b/src/configreader.cpp
@@ -873,6 +873,11 @@ void ServerConfig::Read(bool bail, userrec* user)
ServerInstance->Log(DEFAULT,"Successfully unloaded %lu of %lu modules and loaded %lu of %lu modules.",(unsigned long)rem,(unsigned long)removed_modules.size(),(unsigned long)add,(unsigned long)added_modules.size());
}
+
+ if (user)
+ user->WriteServ("NOTICE %s :*** Successfully rehashed server.", user->nick);
+ else
+ ServerInstance->WriteOpers("*** Successfully rehashed server.");
}
bool ServerConfig::LoadConf(ConfigDataHash &target, const char* filename, std::ostringstream &errorstream)