diff options
| author | Alexander Barton <alex@barton.de> | 2013-08-26 22:54:00 +0200 |
|---|---|---|
| committer | Alexander Barton <alex@barton.de> | 2013-08-26 22:54:00 +0200 |
| commit | 1dc93286a0d5b80259604b4f25021fcc5a730b5b (patch) | |
| tree | 2323c8a29f2d19b1fcb233b8871f3128451bcd76 /contrib | |
| parent | 3b65f4e38d1ab019513f16b70581ae10574006e8 (diff) | |
| download | ngircd-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