changeset 22724: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 f9a88e661fff
children 98fd7c994d68 4c731c4dcc0b
files ChangeLog libpurple/plugin.c
diffstat 2 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Fri Apr 25 03:51:55 2008 +0000
+++ b/ChangeLog	Fri Apr 25 05:53:48 2008 +0000
@@ -5,7 +5,9 @@
 	* In MySpaceIM, messages from spambots are discarded (Justin Williams)
 	* Strip mIRC formatting codes from quit and part messages.
 	* IRC now displays ban lists in-channel for joined channels.
-	
+	* Fixed a bug where the list of loaded plugins would get removed when
+	  switching between different operating systems.
+
 	Pidgin:
 	* The typing notification in the conversation history can be disabled or
 	  customized (font, color etc.) in .gtkrc-2.0.
--- 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) ||