diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-05-16 21:41:48 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-05-16 21:41:48 +0000 |
commit | 98b4acdb3f349459b48e3e67c0928276ad2d47f5 (patch) | |
tree | 8a48d854e4f38935254d4de96861f9c9830cb05a /src/command_parse.cpp | |
parent | c73a9b10aae53818bad4c178ee5181da4d6f87c3 (diff) |
Add a progress meter for loading of core commands, fix broken implementation for <disabled commands> with a module command, as discovered by Casey in bug #293
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7038 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/command_parse.cpp')
-rw-r--r-- | src/command_parse.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/command_parse.cpp b/src/command_parse.cpp index ae580c6a7..7529461d0 100644 --- a/src/command_parse.cpp +++ b/src/command_parse.cpp @@ -549,6 +549,9 @@ void CommandParser::SetupCommandTable() { RFCCommands.clear(); + printf("\nLoading core commands"); + fflush(stdout); + DIR* library = opendir(LIBRARYDIR); if (library) { @@ -557,10 +560,13 @@ void CommandParser::SetupCommandTable() { if (match(entry->d_name, "cmd_*.so")) { + printf("."); + fflush(stdout); this->LoadCommand(entry->d_name); } } closedir(library); + printf("\n"); } this->CreateCommand(new cmd_reload(ServerInstance)); |