summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
3475ebe)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5627
e03df62e-2008-0410-955e-
edbf42e46eb7
if (strchr(filename,'*') || (strchr(filename,'?')))
{
bool all_success = true;
if (strchr(filename,'*') || (strchr(filename,'?')))
{
bool all_success = true;
DIR* library = opendir(Config->ModPath);
if (library)
{
DIR* library = opendir(Config->ModPath);
if (library)
{
{
if (this->MatchText(entry->d_name, filename))
{
{
if (this->MatchText(entry->d_name, filename))
{
if (!this->LoadModule(entry->d_name))
all_success = false;
}
}
closedir(library);
}
if (!this->LoadModule(entry->d_name))
all_success = false;
}
}
closedir(library);
}
+ return (all_success && n_match);