fix a few compile fixes
This commit is contained in:
parent
12740e2869
commit
0e4c4860c1
3 changed files with 7 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -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 */
|
||||
|
|
|
@ -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);
|
||||
|
|
Reference in a new issue