summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-11-04 21:07:54 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-11-04 21:07:54 +0000
commitad9715ffd1025cd6650dfd2208a71e3a0df96073 (patch)
treed450bdff8386408271f60ebee031ecfa3ad415e2 /include
parentc930256639e1bab55cb3a9ae2965647f2f6b9ec2 (diff)
MODERR tidyups
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8524 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include')
-rw-r--r--include/modules.h4
1 files changed, 2 insertions, 2 deletions
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