diff options
Diffstat (limited to 'src/channel.c')
-rw-r--r-- | src/channel.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/channel.c b/src/channel.c index 5661958..cd66e39 100644 --- a/src/channel.c +++ b/src/channel.c @@ -647,6 +647,9 @@ can_join(struct Client *source_p, struct Channel *chptr, const char *key) #ifdef HAVE_LIBCRYPTO if ((chptr->mode.mode & MODE_SSLONLY) && !source_p->localClient->fd.ssl) return ERR_SSLONLYCHAN; +#else + if ((chptr->mode.mode & MODE_SSLONLY)) + return ERR_SSLONLYCHAN; #endif if ((chptr->mode.mode & MODE_REGONLY) && !HasUMode(source_p, UMODE_REGISTERED)) |