1
0
mirror of https://github.com/anope/anope.git synced 2026-07-03 05:53:12 +02:00

Fix crash bug in os_modload when a non-existant module is given, thanks to Ankit for spotting this.

git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1918 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
cyberbotx
2009-01-06 16:37:30 +00:00
parent 4dca000328
commit ff62cb2eea
+1 -1
View File
@@ -74,7 +74,7 @@ int do_modload(User * u)
int status = ModuleManager::LoadModule(name, u);
if (status != MOD_ERR_OK)
{
notice_lang(s_OperServ, u, OPER_MODULE_LOAD_FAIL, m->name.c_str());
notice_lang(s_OperServ, u, OPER_MODULE_LOAD_FAIL, name);
}
return MOD_CONT;