Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Diff of /trunk/yulastfm.pl [r56] .. [r57] Maximize Restore

  Switch to side-by-side view

--- a/trunk/yulastfm.pl
+++ b/trunk/yulastfm.pl
@@ -133,7 +133,7 @@
 
 	$ppref = Purple::PluginPref->new_with_name_and_label(
 		"/plugins/core/yulastfm/refreshing_rate",
-		"Refresh Rate (per sec.)");
+		"Refresh Rate (in sec.)");
 	$ppref->set_type(3);
 	# If no bounds are assigned, the value will be restriced to 0
 	$ppref->set_bounds( 10, 300);
@@ -262,7 +262,7 @@
 		return 0;
 	} else {
 		my $url = lastfm_method( "user.getrecenttracks", "&user=" . $lastfm_account . "&limit=1");
-		Purple::Util::fetch_url( $plugin, $url, TURE, "Mozilla/5.0", TURE, \&parse_xml);
+		Purple::Util::fetch_url( $plugin, $url, TRUE, "Mozilla/5.0", TRUE, \&parse_xml);
 		$refresh_rate = Purple::Prefs::get_int("/plugins/core/yulastfm/refreshing_rate");
 		if (!$timeout) {
 			$timeout = Purple::timeout_add( $plugin, $refresh_rate, \&refresh_tune, $plugin);