view plugins/test.pl @ 6578:1dc3eac729d1

[gaim-migrate @ 7100] (20:21:09) Robot101: someone remove line 1097 and 1098 of server.c, and put the c = gaim_find_conversation two blocks down, after the existing (!b) conditional. (20:21:20) LSchiere: what does that do? (20:22:04) Robot101: fixes the null buddy dereferencing bug without duplicated check for (!b) (20:22:21) LSchiere: what null buddy dereferencing bug? (20:22:35) ***LSchiere goes to find the code in question (20:22:39) Robot101: the one faceprint fixed on Thursday (20:22:44) LSchiere: ah (20:22:47) Robot101: by adding a check that was already there a few lines down committer: Tailor Script <tailor@pidgin.im>
author Luke Schierer <lschiere@pidgin.im>
date Sat, 23 Aug 2003 00:23:51 +0000
parents e4e87ffd9f14
children b1ea29d1293e
line wrap: on
line source

#!/usr/bin/perl -w

use Gaim;
use vars qw(%PLUGIN_INFO);

%PLUGIN_INFO = (
	perl_api_version => 2,
	name             => 'Test Perl Plugin',
	version          => '1.0',
	summary          => 'Provides as a test base for the perl plugin.',
	description      => 'Provides as a test base for the perl plugin.',
	author           => 'Christian Hammond <chipx86@gnupdate.org>',
	url              => 'http://gaim.sf.net/',

	load             => "plugin_load",
	unload           => "plugin_unload",
);

sub plugin_init {
	return %PLUGIN_INFO;
}

sub plugin_load {
	my $plugin = shift;

	foreach $account (Gaim::accounts()) {
		Gaim::debug("perl test plugin", $account->get_username() . "\n");
	}
}

sub plugin_unload {
	my $plugin = shift;
}