mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-12 20:19:02 -04:00
More error descriptives
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3281 e03df62e-2008-0410-955e-edbf42e46eb7
This commit is contained in:
parent
ef3ef4727d
commit
a7f994a7ba
@ -37,6 +37,11 @@ extern ServerConfig* Config;
|
||||
|
||||
DLLManager::DLLManager(char *fname)
|
||||
{
|
||||
if (!strstr(fname,".so"))
|
||||
{
|
||||
err = "This doesn't look like a module file to me...";
|
||||
return;
|
||||
}
|
||||
#ifdef STATIC_LINK
|
||||
this->staticname[0] = '\0';
|
||||
log(DEBUG,"Loading core-compiled module '%s'",fname);
|
||||
@ -72,6 +77,7 @@ DLLManager::DLLManager(char *fname)
|
||||
if (!x)
|
||||
{
|
||||
err = "Module file not found or cannot access, game over man!";
|
||||
return;
|
||||
}
|
||||
char tmpfile_template[255];
|
||||
char buffer[65536];
|
||||
|
Loading…
x
Reference in New Issue
Block a user