From 0340f1a432d684347d8dbc3aa85c8436c56d4039 Mon Sep 17 00:00:00 2001 From: brain Date: Fri, 25 Mar 2005 02:52:43 +0000 Subject: Added a lot of config error checking git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@898 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/commands.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/commands.cpp') diff --git a/src/commands.cpp b/src/commands.cpp index 0b9624ea8..85eb833c2 100644 --- a/src/commands.cpp +++ b/src/commands.cpp @@ -983,7 +983,7 @@ void handle_list(char **parameters, int pcnt, userrec *user) void handle_rehash(char **parameters, int pcnt, userrec *user) { WriteServ(user->fd,"382 %s %s :Rehashing",user->nick,CleanFilename(CONFIG_FILE)); - ReadConfig(); + ReadConfig(false,user); FOREACH_MOD OnRehash(); WriteOpers("%s is rehashing config file %s",user->nick,CleanFilename(CONFIG_FILE)); } -- cgit v1.3.1-10-gc9f91