diff options
-rw-r--r-- | server/connection.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/connection.c b/server/connection.c index 00ea8ab91f..1950069dc7 100644 --- a/server/connection.c +++ b/server/connection.c @@ -69,8 +69,8 @@ HOOK_STRUCT( HOOK_LINK(process_connection) ); -IMPLEMENT_VOID_HOOK(pre_connection,(conn_rec *c),(c)) -IMPLEMENT_HOOK(int,process_connection,(conn_rec *c),(c),RUN_FIRST,OK,DECLINED) +IMPLEMENT_HOOK_VOID(pre_connection,(conn_rec *c),(c)) +IMPLEMENT_HOOK_RUN_FIRST(int,process_connection,(conn_rec *c),(c),DECLINED) /* TODO: re-implement the lingering close stuff */ #define NO_LINGCLOSE |