Here it is, the new thread interface.
[citadel.git] / citadel / modules / bio / serv_bio.c
index 8f875a43520fba1df0577404404ddd43b8f8d147..276e7d9811baebb88c87c05b36891335f0b257dd 100644 (file)
@@ -134,10 +134,12 @@ void cmd_lbio(char *cmdbuf) {
 
 CTDL_MODULE_INIT(bio)
 {
-        CtdlRegisterProtoHook(cmd_ebio, "EBIO", "Enter your bio");
-        CtdlRegisterProtoHook(cmd_rbio, "RBIO", "Read a user's bio");
-        CtdlRegisterProtoHook(cmd_lbio, "LBIO", "List users with bios");
-
+       if (!threading)
+       {
+               CtdlRegisterProtoHook(cmd_ebio, "EBIO", "Enter your bio");
+               CtdlRegisterProtoHook(cmd_rbio, "RBIO", "Read a user's bio");
+               CtdlRegisterProtoHook(cmd_lbio, "LBIO", "List users with bios");
+       }
        /* return our Subversion id for the Log */
         return "$Id$";
 }