m_webirc: enforce need_ssl
This commit is contained in:
parent
a5c6d66ac8
commit
ab4420cbbe
1 changed files with 5 additions and 0 deletions
|
@ -98,6 +98,11 @@ mr_webirc(struct MsgBuf *msgbuf_p, struct Client *client_p, struct Client *sourc
|
|||
sendto_one(source_p, "NOTICE * :CGI:IRC auth blocks must have a password");
|
||||
return;
|
||||
}
|
||||
if (!IsSSL(source_p) && aconf->flags & CONF_FLAGS_NEED_SSL)
|
||||
{
|
||||
sendto_one(source_p, "NOTICE * :Your CGI:IRC block requires SSL");
|
||||
return;
|
||||
}
|
||||
|
||||
if (EmptyString(parv[1]))
|
||||
encr = "";
|
||||
|
|
Loading…
Reference in a new issue