about summary refs log tree commit diff stats
path: root/src/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/api.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/api.c b/src/plugins/api.c
index 2761b254..30511443 100644
--- a/src/plugins/api.c
+++ b/src/plugins/api.c
@@ -473,7 +473,7 @@ api_settings_int_set(const char *const group, const char *const key, int value)
 void
 api_incoming_message(const char *const barejid, const char *const resource, const char *const plain)
 {
-    prof_message_t *message = message_init();
+    ProfMessage *message = message_init();
     message->jid = jid_create_from_bare_and_resource(barejid, resource);
     message->plain = strdup(plain);