activity.c
changeset 31 e404cd1c7077
parent 29 23fa36d480fb
child 35 a77a8e7ab8ae
--- a/activity.c	Mon May 21 03:38:51 2012 +0300
+++ b/activity.c	Mon May 21 19:10:25 2012 +0300
@@ -32,7 +32,7 @@
 #include <mcabber/compl.h>
 #include <mcabber/modules.h>
 
-#include "activity.h"
+#include "pep_activity.h"
 
 #include "config.h"
 
@@ -43,7 +43,8 @@
 void activity_init   (void);
 void activity_uninit (void);
 
-#define DESCRIPTION ( "PEP activity support\nProvides command /activity" )
+#define DESCRIPTION ( ACTIVITY_DESCRIPTION )
+
 static const gchar *deps[] = { "pep_activity", NULL };
 
 static module_info_t info_activity_dev = {
@@ -102,7 +103,7 @@
 
 		GError *error = NULL;
 
-		activity_request ( CURRENT_JID, &error );
+		pep_activity_request ( CURRENT_JID, &error );
 		if ( error ) {
 			scr_log_print ( LPRINT_NORMAL, "Error sending request: %s.", error -> message );
 			g_error_free ( error );