projects
/
citadel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Here it is, the new thread interface.
[citadel.git]
/
citadel
/
modules
/
pas2
/
serv_pas2.c
diff --git
a/citadel/modules/pas2/serv_pas2.c
b/citadel/modules/pas2/serv_pas2.c
index 7df51d60dfcd19786d91a53e871b85b59a0f1c98..63bd213ae17d3ff3c12fdfc78985cfd7bc67d207 100644
(file)
--- 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$";
}