1
0
mirror of https://github.com/anope/anope.git synced 2026-07-03 16:33:13 +02:00

Fixed the nss_dns.so.1 issue

git-svn-id: svn://svn.anope.org/anope/trunk@1443 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1157 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b
2008-09-15 06:44:35 +00:00
parent e424ac477a
commit b438196563
3 changed files with 3 additions and 3 deletions
+1
View File
@@ -1,5 +1,6 @@
Anope Version S V N
--------------------
09/15 F Dealt with the nss_dns.so.1 issue on freebsd 7. [ #00]
Anope Version 1.7.22
--------------------
+2 -2
View File
@@ -617,13 +617,13 @@ int loadModule(Module * m, User * u)
m->filename = sstrdup(buf);
ano_modclearerr();
m->handle = ano_modopen(m->filename);
if ((err = ano_moderr()) != NULL) {
if ( m=>handle == NULL && (err = ano_moderr()) != NULL) {
alog(err);
return MOD_ERR_NOLOAD;
}
ano_modclearerr();
func = (int (*)(int, char **))ano_modsym(m->handle, "AnopeInit");
if ((err = ano_moderr()) != NULL) {
if ( func == NULL && (err = ano_moderr()) != NULL) {
ano_modclose(m->handle); /* If no AnopeInit - it isnt an Anope Module, close it */
return MOD_ERR_NOLOAD;
}
-1
View File
@@ -26,4 +26,3 @@ clean:
spotless:
rm -f *~ *.o *.so *.c~ core