Module: ngircd.git Branch: master Commit: 35e2dcff88e29617db0e5af1d016ab76a31ab677 URL: http://ngircd.barton.de/cgi-bin/gitweb.cgi?p=ngircd.git&a=commit;h=35e2d...
Author: Alexander Barton alex@barton.de Date: Sat Nov 24 16:15:35 2012 +0100
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.
---
doc/Protocol.txt | 1 + src/ngircd/client.c | 78 +++++++++++++++++++++++++++++++++------------ src/ngircd/client.h | 6 ++++ src/ngircd/irc-metadata.c | 21 ++++++++++-- src/ngircd/irc-mode.c | 35 ++++++-------------- src/ngircd/numeric.c | 44 +++++++++++++++++-------- 6 files changed, 123 insertions(+), 62 deletions(-)
Diff: http://ngircd.barton.de/cgi-bin/gitweb.cgi?p=ngircd.git&a=commitdiff;h=3...
ngircd-commits@lists.barton.de