diff libpurple/plugin.c @ 22707:17cd33c5b5ef

Fix a bug where the list of loaded plugins would get removed when switching between different operating systems. Thanks a bunch to darthmarth37|LT and Vorondil for the help pin-pointing the bug.
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Fri, 25 Apr 2008 05:53:48 +0000
parents 19f26913fe71
children 645423a7a7b6
line wrap: on
line diff
--- a/libpurple/plugin.c	Fri Apr 25 03:51:55 2008 +0000
+++ b/libpurple/plugin.c	Fri Apr 25 05:53:48 2008 +0000
@@ -1294,7 +1294,7 @@
 
 		/* Strip the extension */
 		if (basename)
-			basename = purple_plugin_get_basename(filename);
+			basename = purple_plugin_get_basename(basename);
 
 		if (((plugin = purple_plugins_find_with_filename(filename)) != NULL) ||
 				(basename && (plugin = purple_plugins_find_with_basename(basename)) != NULL) ||