Commit Briefs

a0d57a6afd Alexander Barton

ngIRCd 20~rc2 (tags/rel-20-rc2)


c6ae353756 Alexander Barton

Update NEWS and ChangeLog files


12768e7a54 Alexander Barton

Update doc/Platforms.txt


35e2dcff88 Alexander Barton

Rework cloaked hostname handling, implement "METADATA cloakhost"

Now ngIRCd uses two fields internally, one to store the "real" hostname and one to save the "cloaked" hostname. And both fields can be set independently using the "METADATA host" and "METADATA cloakhost" commands. This allows "foreign servers" (aka "IRC services") to alter the real and cloaked hostnames of clients without problems, even when the user itself issues additional "MODE +x" and "MODE -x" commands.


dc89e42ef5 Alexander Barton

RPL_UMODEIS: send correct target name, even on server links


4a2d74c9ab Alexander Barton

Client_HostnameCloaked() -> Client_HostnameDisplayed()


cd48b8128e Alexander Barton

platformtest.sh: Only generate configure script when missing


301d4915bc Alexander Barton

Update platformtest.sh to follow autoconf changes


8061056cec Alexander Barton

Test suite: correctly execute tests when stdout is redirected


44926b7f9f Alexander Barton

Add a few casts, fix compiler warnings on NetBSD 5

This fixes a few warnings of this type: XXX.c: In function 'AAA': XXX.c:YY: warning: array subscription has type 'char' Tested on NetBSD 5.0.2 with gcc 4.1.3.


d11a700589 Alexander Barton

irc-info.c: Use strlcpy() instead of strcpy()

This fixes the following warning of gcc (tested on OpenBSD 5.0:) irc-info.c:990: warning: strcpy() is almost always misused, please use strlcpy


0a26079af2 Alexander Barton

ngIRCd 20~rc1 (tags/rel-20-rc1)


b6e49f3920 Alexander Barton

Update Xcode project files


4123118d5a Alexander Barton

conf.c: Use strlcpy() instead of strcpy()

This fixes the following warning of gcc on OpenBSD 5.0: conf.c:728: warning: strcpy() is almost always misused, please use strlcpy()


e29d198700 Alexander Barton

tool.h: Don't check for and #define PF_INET

This is correctly handled by ipaddr/ng_ipaddr.h today, and the check in tool.h isn't required any more -- and caused errors on OpenBSD 5.0: In file included from ./../tool/tool.h:23: /usr/include/arpa/inet.h:74: warning: "struct in_addr" declared inside parameter list


6f531a3c99 Alexander Barton

conf-ssl.h: Use "gnutls_session_t" instead of "gnutls_session"

This fixes the following warning with current versions of GnuTLS: conf-ssl.h:36: warning: "gnutls_session" is deprecated


53917fa4b8 Alexander Barton

Add new IRC+ server flag "X": "XOP modes supported"

This flag indicates, that the server supports the enhanced "xop channel user modes", like channel owner, admin, and halfop. This information is used to make sure that no unsupported CHANINFO commands are sent to servers not supporting such mode prefixes, for example.



4185c4a44a Alexander Barton

Update NEWS and ChangeLog files


45b0bb5aff Alexander Barton

Remove Anope "ngircd" protocol module patches

Starting with Anope 1.9.8, the ngIRCd protocol module is included in the Anope distribution, so there's no longer any need to support our own (but now heavily outdated!) patches. Therefore remove them.


c7db2f8429 Alexander Barton

doc/Services.txt: Update documentation for Anope 1.9.8

Starting with Anope 1.9.8, the ngIRCd protocol module is rewritten from scratch by "DukePyrolator" and included in the Anope distribution. So no patching is required any more, yeah! Drawback: Anope 1.9.8 is in development and not yet released ...


f0b86e6c26 Alexander Barton

Correctly add irc-metadata.{c|h} to Makefile.ng ...


7871a904d7 Alexander Barton

doc/Protocol.txt: Document METADATA command


40e3daf560 Alexander Barton

Generate "METADATA host" commands on "MODE +/-x"

Use "METADATA host" commands to let servers supporting this command know which (possibly cloaked) hostname is in effect for a specific client. This prevents "double cloaking" of hostnames and even cloaked hostnames are in sync on all servers supporting "METADATA" now.


44b7ff02fd Alexander Barton

Don't cloak already cloaked hostname when using METADATA

A client for which a METADATA command has been received from one of its peers got the client flag "M" set. So it's safe to assume that such a client gets "METADATA host" commands for its cloaked hostname and the server must not cloak the hostname on its own, even when the client mode "+x" is set.