summaryrefslogtreecommitdiff
path: root/src/perl
diff options
context:
space:
mode:
authorLukas Mai <l.mai@web.de>2016-02-24 19:00:31 +0100
committerLukas Mai <l.mai@web.de>2016-03-02 00:53:56 +0100
commit8c1da2890c4ccbeac70d7798f29f00a81a770728 (patch)
treef64cab648a05f18822a5b153c5cc016d515f7da0 /src/perl
parent3fc7e4d4ea7faaf3a14206c8b7c46ccc4b96309c (diff)
downloadirssi-8c1da2890c4ccbeac70d7798f29f00a81a770728.zip
irssi proxy: allow listening on unix sockets
Diffstat (limited to 'src/perl')
-rw-r--r--src/perl/irc/Irc.xs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/perl/irc/Irc.xs b/src/perl/irc/Irc.xs
index 4217b4eb..3f8ccc2e 100644
--- a/src/perl/irc/Irc.xs
+++ b/src/perl/irc/Irc.xs
@@ -149,8 +149,7 @@ static void perl_notifylist_fill_hash(HV *hv, NOTIFYLIST_REC *notify)
static void perl_client_fill_hash(HV *hv, CLIENT_REC *client)
{
(void) hv_store(hv, "nick", 4, new_pv(client->nick), 0);
- (void) hv_store(hv, "host", 4, new_pv(client->host), 0);
- (void) hv_store(hv, "port", 4, newSViv(client->port), 0);
+ (void) hv_store(hv, "addr", 4, new_pv(client->addr), 0);
(void) hv_store(hv, "proxy_address", 13, new_pv(client->proxy_address), 0);
(void) hv_store(hv, "server", 6, iobject_bless(client->server), 0);
(void) hv_store(hv, "pass_sent", 9, newSViv(client->pass_sent), 0);