diff options
Diffstat (limited to 'src/lua/lua_message.c')
-rw-r--r-- | src/lua/lua_message.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lua/lua_message.c b/src/lua/lua_message.c index b178da0d4..60daf357b 100644 --- a/src/lua/lua_message.c +++ b/src/lua/lua_message.c @@ -89,7 +89,7 @@ lua_check_message (lua_State *L) { void *ud = luaL_checkudata (L, 1, "Rspamd.message"); luaL_argcheck (L, ud != NULL, 1, "'message' expected"); - return (GMimeMessage *)ud; + return *((GMimeMessage **)ud); } |