diff src/plugin.c @ 12077:3cf98e532126

[gaim-migrate @ 14374] Stu pointed out that I probably want to leave this how it was. This should allow you to use the same 3rd party plugins across platforms using the same prefs.xml? committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Mon, 14 Nov 2005 03:38:40 +0000
parents ee8312c764b1
children 5a08737f76c6
line wrap: on
line diff
--- a/src/plugin.c	Mon Nov 14 03:29:27 2005 +0000
+++ b/src/plugin.c	Mon Nov 14 03:38:40 2005 +0000
@@ -97,7 +97,9 @@
 	if (last_period == NULL)
 		return FALSE;
 
-	return !(strcmp(last_period + 1, G_MODULE_SUFFIX));
+	return !(strcmp(last_period, ".dll") &
+			 strcmp(last_period, ".sl") &
+			 strcmp(last_period, ".so"));
 }
 
 static char *