From 6a2c49b24a63e94a4108c5f4904a714b532cf766 Mon Sep 17 00:00:00 2001 From: Elvio Basello Date: Thu, 9 Oct 2008 00:46:57 +0000 Subject: removed deprecated functions; added doxygen comments; improved hungarian notation; git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@2674 17fca916-40b9-46aa-a4ea-0a15b648b75c --- src/modules/dcc/utils.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/modules/dcc/utils.cpp') diff --git a/src/modules/dcc/utils.cpp b/src/modules/dcc/utils.cpp index 6ac655906..7d3e2be88 100644 --- a/src/modules/dcc/utils.cpp +++ b/src/modules/dcc/utils.cpp @@ -30,6 +30,7 @@ #include "kvi_locale.h" #include "kvi_netutils.h" #include "kvi_ircsocket.h" +#include "kvi_irclink.h" #include "kvi_qstring.h" /* @@ -157,7 +158,7 @@ bool dcc_kvs_get_listen_ip_address(KviKvsModuleCommandCall *c,KviConsole * pCons if(pConsole->isConnected()) { //#warning "The IPV6 choice is not OK here.... and maybe allow to bind to specified ports" - pConsole->connection()->socket()->getLocalHostIp(szListenIp,pConsole->isIPv6Connection()); + pConsole->connection()->link()->socket()->getLocalHostIp(szListenIp,pConsole->isIPv6Connection()); } else { szListenIp = "0.0.0.0"; // huh ? :) } -- cgit v1.3.1-10-gc9f91