diff options
| author | Wilmer van der Gaast <wilmer@gaast.net> | 2010-06-07 15:31:07 +0100 | 
|---|---|---|
| committer | Wilmer van der Gaast <wilmer@gaast.net> | 2010-06-07 15:31:07 +0100 | 
| commit | 4aa0f6bc5645e124738ab15ad1eb65d4147dba25 (patch) | |
| tree | 0f15a76a814c33c8759c9d97253423ed12c0e1cc /protocols/nogaim.c | |
| parent | 0d9d53ed0b3eb068cf57355a4d1465beaf191f8a (diff) | |
| parent | 1fdb0a48438d6dc4a4795d195737890ed3e46a96 (diff) | |
Merging killerbee stuff, bringing all the bleeding-edge stuff together.
Diffstat (limited to 'protocols/nogaim.c')
| -rw-r--r-- | protocols/nogaim.c | 12 | 
1 files changed, 10 insertions, 2 deletions
| diff --git a/protocols/nogaim.c b/protocols/nogaim.c index df97393d..be85b8ba 100644 --- a/protocols/nogaim.c +++ b/protocols/nogaim.c @@ -111,12 +111,15 @@ void register_protocol (struct prpl *p)  struct prpl *find_protocol(const char *name)  {  	GList *gl; -	for (gl = protocols; gl; gl = gl->next)  +	 +	for( gl = protocols; gl; gl = gl->next )   	{   		struct prpl *proto = gl->data; - 		if(!g_strcasecmp(proto->name, name))  + 		 + 		if( g_strcasecmp( proto->name, name ) == 0 )  			return proto;   	} + 	   	return NULL;  } @@ -127,6 +130,7 @@ void nogaim_init()  	extern void byahoo_initmodule();  	extern void jabber_initmodule();  	extern void twitter_initmodule(); +	extern void purple_initmodule();  #ifdef WITH_MSN  	msn_initmodule(); @@ -148,6 +152,10 @@ void nogaim_init()  	twitter_initmodule();  #endif +#ifdef WITH_PURPLE +	purple_initmodule(); +#endif +  #ifdef WITH_PLUGINS  	load_plugins();  #endif | 
