summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-10-14 21:16:44 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-10-14 21:16:44 +0000
commit45776df702235ec38625403778daff4c7aed4e4e (patch)
tree123695e3f32f909f8d7963545b4e449ec392c8f3 /include
parent71532e29af6d0be878596e47dbd66a6ce573893d (diff)
Make error messages on failure to load command more useful
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8194 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include')
-rw-r--r--include/command_parse.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/command_parse.h b/include/command_parse.h
index 2c883be20..4e25d1004 100644
--- a/include/command_parse.h
+++ b/include/command_parse.h
@@ -59,9 +59,10 @@ class CoreExport CommandParser : public classbase
/** Finds the init_command symbol in a .so file
* @param v A function pointer to be initialized
* @param h A valid shared object handle
+ * @param name The filename being loaded, used for error reporting
* @return True if the symbol could be found
*/
- bool FindSym(void** v, void* h);
+ bool FindSym(void** v, void* h, const std::string &name);
/** A list of core-implemented modes and their shared object handles
*/