about summary refs log tree commit diff
path: root/contrib
diff options
context:
space:
mode:
authorAlexander Barton <alex@barton.de>2013-08-26 22:54:00 +0200
committerAlexander Barton <alex@barton.de>2013-08-26 22:54:00 +0200
commit1dc93286a0d5b80259604b4f25021fcc5a730b5b (patch)
tree2323c8a29f2d19b1fcb233b8871f3128451bcd76 /contrib
parent3b65f4e38d1ab019513f16b70581ae10574006e8 (diff)
downloadngircd-1dc93286a0d5b80259604b4f25021fcc5a730b5b.tar.gz
ngircd-1dc93286a0d5b80259604b4f25021fcc5a730b5b.zip
Save client IP address text for "WebIRC" users
This patch introduces a new field in the CLIENT structure, "ipa_text",
which points to an optional textual representation of the client IP
address (or NULL) which can be used to store the "real" IP address
information of a client using the "WEBIRC" protocol.

Without this patch, ngIRCd ignored the <ip-address> paramater ...

In addition, the functions Client_SetIPAText() and Client_IPAText()
have been introduced to set and get the textual representation of the
client IP address.

Client_IPAText() can be used even when no "IP address text" has been
set before, it then returns the real IP address of the connection.

Closes bug #159.
Diffstat (limited to 'contrib')
0 files changed, 0 insertions, 0 deletions