X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=citadel%2Fmodules%2Fpas2%2Fserv_pas2.c;h=63bd213ae17d3ff3c12fdfc78985cfd7bc67d207;hb=84a0666848ccbea920f0bd398baf149c1a12ea74;hp=7df51d60dfcd19786d91a53e871b85b59a0f1c98;hpb=77ed8082379b4c2c9ebfc6d4b85656fc7f4782bf;p=citadel.git diff --git a/citadel/modules/pas2/serv_pas2.c b/citadel/modules/pas2/serv_pas2.c index 7df51d60d..63bd213ae 100644 --- a/citadel/modules/pas2/serv_pas2.c +++ b/citadel/modules/pas2/serv_pas2.c @@ -88,8 +88,11 @@ void cmd_pas2(char *argbuf) CTDL_MODULE_INIT(pas2) { - CtdlRegisterProtoHook(cmd_pas2, "PAS2", "APOP-based login"); - + if (!threading) + { + CtdlRegisterProtoHook(cmd_pas2, "PAS2", "APOP-based login"); + } + /* return our Subversion id for the Log */ return "$Id$"; }