The handler for the server message get_next_hook was returning the
module name of the current hook, instead of the next one.

diff --git a/server/hook.c b/server/hook.c
index 05eb3de..3a483c1 100644
--- a/server/hook.c
+++ b/server/hook.c
@@ -366,6 +366,6 @@
         reply->proc = next->proc;
         reply->prev_unicode = hook->unicode;
         reply->next_unicode = next->unicode;
-        if (hook->module) set_reply_data( hook->module, hook->module_size );
+        if (next->module) set_reply_data( next->module, next->module_size );
     }
 }