diff --git a/ChangeLog b/ChangeLog index f85f06f..699317d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -14,6 +14,7 @@ Symbols are: (HP) - Hybrid Team Patches. (RC6, RC7, RC8) Woo0oo.. Wonder what they broke this time. (F) - Fix a Umode Problem (HP) - Hybrid Team Patches (RC9) +(F) - Fixed a few compile issues reported by IEF with regards to SSL disabled at compile time. (F) - Changed UserMode handling stuff again, as it wasn't very good last change. (F) - Can not kill services clients, or any client on a U lined server anymore (F) - Stats p showed opers real hosts... Fixed diff --git a/src/linebuf.c b/src/linebuf.c index 6149e07..0951dc1 100644 --- a/src/linebuf.c +++ b/src/linebuf.c @@ -20,7 +20,7 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * USA * - * $Id: linebuf.c,v 1.8 2003/03/04 13:03:55 fishwaldo Exp $ + * $Id: linebuf.c,v 1.9 2003/03/31 09:03:15 fishwaldo Exp $ */ #include "stdinc.h" @@ -638,7 +638,9 @@ linebuf_flush(int fd, buf_head_t *bufhead) #endif { buf_line_t *bufline; +#ifdef USE_SSL struct Client *client_p = data; +#endif int retval; /* Check we actually have a first buffer */ diff --git a/src/s_user.c b/src/s_user.c index a99c64e..e66bbf8 100644 --- a/src/s_user.c +++ b/src/s_user.c @@ -19,7 +19,7 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * USA * - * $Id: s_user.c,v 1.45 2003/03/13 08:01:53 fishwaldo Exp $ + * $Id: s_user.c,v 1.46 2003/03/31 09:03:16 fishwaldo Exp $ */ #include "stdinc.h" @@ -478,11 +478,12 @@ register_local_user(struct Client *client_p, struct Client *source_p, } SetClient(source_p); +#ifdef USE_SSL if (source_p->localClient->ssl) { SetSSL(source_p); source_p->umodes |= FLAGS_SSL; } - +#endif /* XXX source_p->servptr is &me, since local client */ source_p->servptr = find_server(user->server); add_client_to_llist(&(source_p->servptr->serv->users), source_p);