mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-12 20:19:02 -04:00
Added a tiny bit more logging to LoadModule, to log to default loglevel when a module is loaded
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5487 e03df62e-2008-0410-955e-edbf42e46eb7
This commit is contained in:
parent
bc69a6264e
commit
6b8747ab63
@ -577,6 +577,10 @@ bool InspIRCd::LoadModule(const char* filename)
|
||||
snprintf(MODERR,MAXBUF,"Loader/Linker error: Incorrect module API version: %d (our version: %d)",v.API,API_VERSION);
|
||||
return false;
|
||||
}
|
||||
else
|
||||
{
|
||||
this->Log(DEFAULT,"New module introduced: %s (API version %d, Module version %d.%d.%d.%d)%s", filename, v.API, v.Major, v.Minor, v.Revision, v.Build, (!(v.Flags & VF_VENDOR) ? " [3rd Party]" : " [Vendor]"));
|
||||
}
|
||||
|
||||
modules[this->ModCount+1] = m;
|
||||
/* save the module and the module's classfactory, if
|
||||
|
Loading…
x
Reference in New Issue
Block a user