mood.c
changeset 31 e404cd1c7077
parent 29 23fa36d480fb
child 35 a77a8e7ab8ae
--- a/mood.c	Mon May 21 03:38:51 2012 +0300
+++ b/mood.c	Mon May 21 19:10:25 2012 +0300
@@ -32,7 +32,7 @@
 #include <mcabber/hooks.h>
 #include <mcabber/modules.h>
 
-#include "mood.h"
+#include "pep_mood.h"
 
 #include "config.h"
 
@@ -43,7 +43,7 @@
 void mood_init   (void);
 void mood_uninit (void);
 
-#define DESCRIPTION ( "PEP mood events handling\nProvides command /mood" )
+#define DESCRIPTION ( MOOD_DESCRIPTION )
 
 static const gchar *deps[] = { "pep_mood", NULL };
 
@@ -91,7 +91,7 @@
 
 		GError *error = NULL;
 		
-		mood_request ( CURRENT_JID, &error );
+		pep_mood_request ( CURRENT_JID, &error );
 		if ( error ) {
 			scr_log_print ( LPRINT_NORMAL, "Error sending request: %s.", error -> message );
 			g_error_free ( error );