summaryrefslogtreecommitdiff
path: root/src/configreader.cpp
diff options
context:
space:
mode:
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 46bb9231e..050276525 100644
--- a/src/configreader.cpp
+++ b/src/configreader.cpp
@@ -920,6 +920,9 @@ 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());
}
+ /** Note: This is safe, the method checks for user == NULL */
+ ServerInstance->Parser->SetupCommandTable(user);
+
if (user)
user->WriteServ("NOTICE %s :*** Successfully rehashed server.", user->nick);
else