From ad9715ffd1025cd6650dfd2208a71e3a0df96073 Mon Sep 17 00:00:00 2001 From: brain Date: Sun, 4 Nov 2007 21:07:54 +0000 Subject: MODERR tidyups git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8524 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/modules.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/modules.h') diff --git a/include/modules.h b/include/modules.h index a8bc9f507..b305f742b 100644 --- a/include/modules.h +++ b/include/modules.h @@ -1548,7 +1548,7 @@ class CoreExport ModuleManager : public classbase private: /** Holds a string describing the last module error to occur */ - char MODERR[MAXBUF]; + std::string LastModuleError; /** The feature names published by various modules */ @@ -1651,7 +1651,7 @@ class CoreExport ModuleManager : public classbase /** Returns text describing the last module error * @return The last error message to occur */ - const char* LastError(); + std::string& LastError(); /** Load a given module file * @param filename The file to load -- cgit v1.3.1-10-gc9f91