From 76ded2a428a56b775f41293e6fd0f3666bf8b614 Mon Sep 17 00:00:00 2001 From: brain Date: Sat, 11 Aug 2007 12:17:40 +0000 Subject: Fix this so it works. OBVIOUS WARNING FOR THE DUMB: Dont go overwriting .so files at random to test this, you WILL crash your ircd if you do this improprerly, this is a feature of the linux shared object loader. If you want to test this, try with: rm cmd_whatever.so && echo "TESTTEST" >cmd_whatever.so, do NOT just do the echo. git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@7714 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/configreader.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/configreader.cpp') diff --git a/src/configreader.cpp b/src/configreader.cpp index ea6afa2ff..f2ba5e72a 100644 --- a/src/configreader.cpp +++ b/src/configreader.cpp @@ -928,6 +928,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 -- cgit v1.3.1-10-gc9f91