/* Generate and send the confirmation request */
- urlesc(urlroom, qrbuf.QRname);
+ urlesc(urlroom, ROOMNAMELEN, qrbuf.QRname);
snprintf(confirmation_request, sizeof confirmation_request,
/* Generate and send the confirmation request */
- urlesc(urlroom, qrbuf.QRname);
+ urlesc(urlroom, ROOMNAMELEN, qrbuf.QRname);
snprintf(confirmation_request, sizeof confirmation_request,
*/
CTDL_MODULE_INIT(listsub)
{
- CtdlRegisterProtoHook(cmd_subs, "SUBS", "List subscribe/unsubscribe");
-
+ if (!threading)
+ {
+ CtdlRegisterProtoHook(cmd_subs, "SUBS", "List subscribe/unsubscribe");
+ }
+
/* return our Subversion id for the Log */
return "$Id$";
}