From 9d4004e8d477232c143830508a7a6e41fd2d31b7 Mon Sep 17 00:00:00 2001 From: danieldg Date: Tue, 2 Feb 2010 19:03:07 +0000 Subject: Allow opermotd to specify its file in without also requiring an block git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12355 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/modules.cpp') diff --git a/src/modules.cpp b/src/modules.cpp index d4ba9145a..52a25d37c 100644 --- a/src/modules.cpp +++ b/src/modules.cpp @@ -693,6 +693,7 @@ void FileReader::LoadFile(const std::string &filename) } else { + fc.clear(); FILE* f = fopen(filename.c_str(), "r"); if (!f) return; -- cgit v1.2.3