X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=citadel%2Fmodules%2Fbio%2Fserv_bio.c;fp=citadel%2Fmodules%2Fbio%2Fserv_bio.c;h=276e7d9811baebb88c87c05b36891335f0b257dd;hb=84a0666848ccbea920f0bd398baf149c1a12ea74;hp=8f875a43520fba1df0577404404ddd43b8f8d147;hpb=77ed8082379b4c2c9ebfc6d4b85656fc7f4782bf;p=citadel.git diff --git a/citadel/modules/bio/serv_bio.c b/citadel/modules/bio/serv_bio.c index 8f875a435..276e7d981 100644 --- a/citadel/modules/bio/serv_bio.c +++ b/citadel/modules/bio/serv_bio.c @@ -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$"; }