Commit Briefs

47ad9afcf3 Alexander Barton

configure.in: Update checks for required and optional features

Update checks for required and optional header files, data types, and functions.


67e882d4bb Alexander Barton

configure.in: require autoconf 2.67 and automake 1.11

And use newer features such as bug reporting address and project URL.


25c216cbdf Alexander Barton

configure.in: sort some lists (templates, output, ...)


f5441d2170 Alexander Barton

New_Connection(): mark "IsSSL" parameter as UNUSED

This fixes the following warning message when building without SSL support: conn.c: In function "New_Connection": conn.c:1365: warning: unused parameter "IsSSL" Introduced by commit 01b62202.


f38a9035e5 Alexander Barton

Show a warning on startup if config file is not a full path

ngIRCd is a long-running process and changes its working directory to "/" to not block mounted filesystems and the like when running as daemon ("not in the foreground"); therefore the path to the configuration file must be relative to "/" (or the chroot() directory), which basically is "not relative", to ensure that "kill -HUP" and the "REHASH" command work as expected later on. This fixes parts of bug #127.


a12d6ff257 Alexander Barton

Create &SERVER channel after predefined channels

This patch allows you to define &SERVER in a [Channel] block yourself and to overwrite the built-in topic and channel modes. Fixes bug #131.


2205227c3b Alexander Barton

WHO #channel: don't limit list size

It makes no sense to limit the list size when doing WHO for a channel and not to return all the users in that channel, so I removed the check. But if there are more than MAX_RPL_WHO(25) replies, the client requesting the list will be "penalized" one second more (then 2 in total). This fixes bug #125.


d2d867ea36 Alexander Barton

Define EV_SET() for kqueue() on systems that don't have it

Some systems, notably FreeBSD 4.x, do have the kqueue() function but lack the definition of EV_SET() in their header files -- but don't worry, we can #define it on our own ;-) Definition taken from /usr/include/sys/event.h of FreeBSD 8.1. Patch tested on FreeBSD 4.1 by Götz Hoffart. Thanks!


b232ae2f17 Alexander Barton

Fix contrib/Makefile.am to list all files in EXTRA_DIST


53b2acc00b Alexander Barton

Update project description


01b62202b2 Alexander Barton

New function Conn_StartLogin() to finish connection initialization

Conn_StartLogin() is called after the connection has been established and fully innitialized, including the SSL handshake, for example. Up to this patch, the "NoticeAuth" option broke the SSL handshake ...


b68bb560e9 Alexander Barton

Convert CONN_ID and Conf_MaxConnections to "int" datatype

We can't handle more connections than accept(2) can supply, and accept(2) returns an "int" ...


21467c76f1 Alexander Barton

Introduce numeric RPL_HOSTHIDDEN_MSG(396)

This numeric is sent to the client each time it changes its displayed hostname using "MODE +/-x", and if "CloakHost" is set right after the MOTD has been sent.


33fae67579 Alexander Barton

Always cloak client hostname, if needed

Not only cloak the hostname in Client_MaskCloaked(), but also in Client_HostnameCloaked() -- so move the actual cloaking to this function and call it in Client_MaskCloaked() to get the (cloaked) hostname. This fixes USERHOST not displaying the correctly cloaked hostname, for example.


864015fa3f Alexander Barton

NoticeAuth: make sure messages are flushed immediately


1d3def0cc6 Alexander Barton

Merge branch 'umode-B'

This patch series allows ngIRCd to support the user mode "B" ("Bot flasg"): it is settable and unsettable by every (non-restricted) client. According to DNS777, this is how Unreal and InspIRCd do behave, so do we :-) By Alexander Barton (1) and DNS777 (1) * umode-B: Add new user mode "B" to doc/Modes.txt Implement an Unreal-like user mode "B" ("Bot mode")


e01e8f1cb6 Alexander Barton

Merge branch 'recognize-umode-R'

By Alexander Barton (1) and DNS777 (1) * recognize-umode-R: Only allow IRC services to modify user mode "R" Recognize user mode "R"


a26e37b746 Alexander Barton

Add new user mode "B" to doc/Modes.txt


186ab51137 Alexander Barton

Only allow IRC services to modify user mode "R"



c2b39fdede Alexander Barton

Implement an Unreal-like user mode "B" ("Bot mode")


298cd9a327 Alexander Barton

Get_CAP_String(): make it buildable with pre-ANSI C compilers


8349a1c0d9 Alexander Barton

Recognize user mode "R"

This allows users to unset the user mode "R".


360a254be0 Alexander Barton

Enhance "ServiceMask" to handle a list of masks

The "ServiceMask" variable in "Server" blocks now can handle more than one mask using the new MatchCaseInsensitiveList() function. This makes marking "service clients" much more specific, which is a good thing per se, but which is the prerequisite for reasonably blocking these nick names, too (see commit a6dd2e3 for details).


414bfe65eb Alexander Barton

Enhance "NOTICE AUTH": show hostname and IDENT reply