]> jfr.im git - solanum.git/blobdiff - modules/m_starttls.c
opm: properly re-establish listeners on re-enable
[solanum.git] / modules / m_starttls.c
index 67f31d15428e63286e2f1b2056aa8733476e8290..62b7feb60e145f1642d34b9173e84b68fefb68b1 100644 (file)
@@ -20,7 +20,6 @@
 
 #include "stdinc.h"
 #include "client.h"
-#include "common.h"
 #include "match.h"
 #include "hash.h"
 #include "ircd.h"
@@ -96,7 +95,7 @@ mr_starttls(struct MsgBuf *msgbuf_p, struct Client *client_p, struct Client *sou
        sendto_one_numeric(client_p, RPL_STARTTLS, form_str(RPL_STARTTLS));
        send_queued(client_p);
 
-       ctl = start_ssld_accept(client_p->localClient->F, F[1], rb_get_fd(F[0]));
+       ctl = start_ssld_accept(client_p->localClient->F, F[1], connid_get(client_p));
        if (ctl != NULL)
        {
                client_p->localClient->F = F[0];