gaim/www
Clone
Summary
Browse
Changes
Graph
Add a FAQ about the popular status and remove some stuff that should either
2006-01-24, Mark Doliner
07556e91c45a
Add a FAQ about the popular status and remove some stuff that should either
be self-evident or should be covered elsewhere in the FAQ (file transfer)
#define GAIM_PLUGINS
#include
"gaim.h"
char
*
name
()
{
return
"Auto-Add"
;
}
char
*
description
()
{
return
"Automatically add people to your buddy list when they send you a message."
;
}
static
void
im_handler
(
struct
gaim_connection
*
gc
,
char
**
who
,
char
**
text
,
void
*
data
)
{
add_buddy
(
gc
,
"New Users"
,
*
who
,
*
who
);
}
char
*
gaim_plugin_init
(
GModule
*
h
)
{
gaim_signal_connect
(
h
,
event_im_send
,
im_handler
,
NULL
);
return
NULL
;
}