diff -r 21547232c875 -r afcdbbce5002 lm_connection.c --- a/lm_connection.c Sun Jan 17 02:16:30 2010 +0200 +++ b/lm_connection.c Sun Jan 17 02:58:44 2010 +0200 @@ -429,13 +429,14 @@ } lua_pop (L, 1); } else { // Unregister reply handler -#if 0 +#ifdef HAVE_LM_CONNECTION_UNREGISTER_REPLY_HANDLER llm_handler_t *handler = luaL_checklm_handler (L, 2); lm_connection_unregister_reply_handler (object -> connection, handler -> handler); #else + W ("Sorry, your loudmouth have no unregister_reply_handler ()"); lua_pushnil (L); - lua_pushliteral (L, "Sorry, lm_connection_unregister_reply_handler is not yet supported"); + lua_pushliteral (L, "Sorry, your loudmouth have no unregister_reply_handler ()"); return 2; #endif }