mirror of
				https://github.com/osmarks/ngircd.git
				synced 2025-11-03 23:43:00 +00:00 
			
		
		
		
	Compare commits
	
		
			13 Commits
		
	
	
		
			rel-24-rc1
			...
			rel-0-12-0
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 
						 | 
					f44007f42f | ||
| 
						 | 
					1a56c77751 | ||
| 
						 | 
					78257374f0 | ||
| 
						 | 
					fc93044909 | ||
| 
						 | 
					2e0c62df91 | ||
| 
						 | 
					c5ba599140 | ||
| 
						 | 
					afc67ff323 | ||
| 
						 | 
					6052d04c60 | ||
| 
						 | 
					32bf6d4de0 | ||
| 
						 | 
					b187fac244 | ||
| 
						 | 
					6e9389b86c | ||
| 
						 | 
					a8e0eb62e9 | ||
| 
						 | 
					4ea2932967 | 
@@ -10,8 +10,14 @@
 | 
			
		||||
                               -- ChangeLog --
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
ngIRCd 0.12.0-pre2 (2008-04-29)
 | 
			
		||||
ngIRCd 0.12.0 (2008-05-13)
 | 
			
		||||
 | 
			
		||||
  - Fix Bug: 85: "WHO #SecretChannel" that user is not a member of now returns
 | 
			
		||||
    proper RPL_ENDOFWHO_MSG instead of nothing. (Ali Shemiran)
 | 
			
		||||
  - Fix complie on FreeBSD 5.4 and AIX.
 | 
			
		||||
  - If bind() fails, also print ip address and not just the port number.
 | 
			
		||||
 | 
			
		||||
  ngIRCd 0.12.0-pre2 (2008-04-29)
 | 
			
		||||
  - IPv6: Add config options to disabe ipv4/ipv6 support.
 | 
			
		||||
  - Don't include doc/CVS.txt in distribution archive, use doc/GIT.txt now!
 | 
			
		||||
  - Documentation: get rid of some more references to CVS, switch to GIT.
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										3
									
								
								NEWS
									
									
									
									
									
								
							
							
						
						
									
										3
									
								
								NEWS
									
									
									
									
									
								
							@@ -10,8 +10,9 @@
 | 
			
		||||
                                  -- NEWS --
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
ngIRCd 0.12.0-pre2 (2008-04-29)
 | 
			
		||||
ngIRCd 0.12.0 (2008-05-13)
 | 
			
		||||
 | 
			
		||||
  ngIRCd 0.12.0-pre2 (2008-04-29)
 | 
			
		||||
  - IPv6: Add config options to disabe ipv4/ipv6 support.
 | 
			
		||||
 | 
			
		||||
  ngIRCd 0.12.0-pre1 (2008-04-20)
 | 
			
		||||
 
 | 
			
		||||
@@ -12,7 +12,7 @@
 | 
			
		||||
# -- Initialisation --
 | 
			
		||||
 | 
			
		||||
AC_PREREQ(2.50)
 | 
			
		||||
AC_INIT(ngircd, HEAD)
 | 
			
		||||
AC_INIT(ngircd, 0.12.0)
 | 
			
		||||
AC_CONFIG_SRCDIR(src/ngircd/ngircd.c)
 | 
			
		||||
AC_CANONICAL_TARGET
 | 
			
		||||
AM_INIT_AUTOMAKE(1.6)
 | 
			
		||||
 
 | 
			
		||||
@@ -1,3 +1,15 @@
 | 
			
		||||
ngircd (0.12.0-0ab0-pre3) unstable; urgency=low
 | 
			
		||||
 | 
			
		||||
  * New "upstream" release ngIRCd 0.12.0.
 | 
			
		||||
 | 
			
		||||
 -- Alexander Barton <alex@barton.de>  Tue, 13 May 2008 12:30:31 +0200
 | 
			
		||||
 | 
			
		||||
ngircd (0.12.0-0ab0-pre2) unstable; urgency=low
 | 
			
		||||
 | 
			
		||||
  * Second prereloease of upcoming new "upstrem" release 0.12.0-pre1.
 | 
			
		||||
 | 
			
		||||
 -- Alexander Barton <alex@barton.de>  Tue, 29 Apr 2008 23:06:14 +0200
 | 
			
		||||
 | 
			
		||||
ngircd (0.12.0-0ab0-pre1) unstable; urgency=low
 | 
			
		||||
 | 
			
		||||
  * Prereloease of upcoming new "upstrem" release 0.12.0-pre1.
 | 
			
		||||
 
 | 
			
		||||
@@ -1,5 +1,5 @@
 | 
			
		||||
%define name    ngircd
 | 
			
		||||
%define version CVSHEAD
 | 
			
		||||
%define version 0.12.0
 | 
			
		||||
%define release 1
 | 
			
		||||
%define prefix  %{_prefix}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -14,9 +14,6 @@
 | 
			
		||||
#include <netdb.h>
 | 
			
		||||
#include <sys/types.h>
 | 
			
		||||
#endif
 | 
			
		||||
#include <sys/socket.h>
 | 
			
		||||
 | 
			
		||||
#include <netinet/in.h>
 | 
			
		||||
 | 
			
		||||
#include "ng_ipaddr.h"
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -8,6 +8,9 @@
 | 
			
		||||
#define NG_IPADDR_HDR
 | 
			
		||||
#include "portab.h"
 | 
			
		||||
 | 
			
		||||
#include <sys/socket.h>
 | 
			
		||||
#include <netinet/in.h>
 | 
			
		||||
 | 
			
		||||
#ifdef HAVE_ARPA_INET_H
 | 
			
		||||
# include <arpa/inet.h>
 | 
			
		||||
#else
 | 
			
		||||
 
 | 
			
		||||
@@ -415,11 +415,13 @@ NewListener(int af, const UINT16 Port)
 | 
			
		||||
 | 
			
		||||
	set_v6_only(af, sock);
 | 
			
		||||
 | 
			
		||||
	if( ! Init_Socket( sock )) return -1;
 | 
			
		||||
	if (!Init_Socket(sock))
 | 
			
		||||
		return -1;
 | 
			
		||||
 | 
			
		||||
	if (bind(sock, (struct sockaddr *)&addr, ng_ipaddr_salen(&addr)) != 0) {
 | 
			
		||||
		Log( LOG_CRIT, "Can't bind socket (port %d) : %s!", Port, strerror( errno ));
 | 
			
		||||
		close( sock );
 | 
			
		||||
		Log(LOG_CRIT, "Can't bind socket to address %s:%d - %s",
 | 
			
		||||
			ng_ipaddr_tostr(&addr), Port, strerror(errno));
 | 
			
		||||
		close(sock);
 | 
			
		||||
		return -1;
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -718,7 +718,7 @@ IRC_Send_WHO(CLIENT *Client, CHANNEL *Chan, bool OnlyOps)
 | 
			
		||||
 | 
			
		||||
	/* Secret channel? */
 | 
			
		||||
	if (!is_member && strchr(Channel_Modes(Chan), 's'))
 | 
			
		||||
		return CONNECTED;
 | 
			
		||||
		return IRC_WriteStrClient(Client, RPL_ENDOFWHO_MSG, Client_ID(Client), Channel_Name(Chan));
 | 
			
		||||
 | 
			
		||||
	cl2chan = Channel_FirstMember(Chan);
 | 
			
		||||
	for (; cl2chan ; cl2chan = Channel_NextMember(Chan, cl2chan)) {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user