aboutsummaryrefslogtreecommitdiffstats
path: root/protocols
diff options
context:
space:
mode:
Diffstat (limited to 'protocols')
-rw-r--r--protocols/purple/purple.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/protocols/purple/purple.c b/protocols/purple/purple.c
index 07f385ff..d2e85554 100644
--- a/protocols/purple/purple.c
+++ b/protocols/purple/purple.c
@@ -1286,6 +1286,11 @@ void purple_initmodule()
PurplePlugin *prot = prots->data;
struct prpl *ret;
+ /* If we already have this one (as a native module), don't
+ add a libpurple duplicate. */
+ if( find_protocol( prot->info->id ) )
+ continue;
+
ret = g_memdup( &funcs, sizeof( funcs ) );
ret->name = ret->data = prot->info->id;
if( strncmp( ret->name, "prpl-", 5 ) == 0 )