diff options
| author | 2008-07-05 03:08:00 +0000 | |
|---|---|---|
| committer | 2008-07-05 03:08:00 +0000 | |
| commit | 021805d1c3748d39f827ffc0541fade98007c6aa (patch) | |
| tree | f5118072343f65b15c9a52d37fce3d1f9e6f926b /src/modules/dcc/utils.cpp | |
| parent | implemented $window.highlighLevel (feature request #164) (diff) | |
| download | KVIrc-021805d1c3748d39f827ffc0541fade98007c6aa.tar.gz KVIrc-021805d1c3748d39f827ffc0541fade98007c6aa.tar.bz2 KVIrc-021805d1c3748d39f827ffc0541fade98007c6aa.zip | |
fixed protocols name
git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@2000 17fca916-40b9-46aa-a4ea-0a15b648b75c
Diffstat (limited to 'src/modules/dcc/utils.cpp')
| -rw-r--r-- | src/modules/dcc/utils.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/modules/dcc/utils.cpp b/src/modules/dcc/utils.cpp index 9f8e10735..f6e0bf721 100644 --- a/src/modules/dcc/utils.cpp +++ b/src/modules/dcc/utils.cpp @@ -47,7 +47,7 @@ bool dcc_module_get_listen_ip_address(KviCommand *c,KviConsole * pConsole,QStrin { if(KviQString::equalCI(KVI_OPTION_STRING(KviOption_stringDccListenDefaultInterface),"0.0.0.0")) { - // Try to find the first available IpV4 interface + // Try to find the first available IPv4 interface if(!kvi_getLocalHostAddress(szListenIp)) { if(c)c->warning(__tr2qs_ctx("Can't retrieve a suitable local IPV4 address","dcc"), @@ -87,7 +87,7 @@ bool dcc_module_get_listen_ip_address(KviCommand *c,KviConsole * pConsole,QStrin if(pConsole->isConnected()) { //#warning "The IPV6 choice is not OK here.... and maybe allow to bind to specified ports" - pConsole->socket()->getLocalHostIp(szListenIp,pConsole->isIpV6Connection()); + pConsole->socket()->getLocalHostIp(szListenIp,pConsole->isIPv6Connection()); } else { szListenIp = "0.0.0.0"; // huh ? :) } @@ -115,7 +115,7 @@ bool dcc_kvs_get_listen_ip_address(KviKvsModuleCommandCall *c,KviConsole * pCons { if(KviQString::equalCI(KVI_OPTION_STRING(KviOption_stringDccListenDefaultInterface),"0.0.0.0")) { - // Try to find the first available IpV4 interface + // Try to find the first available IPv4 interface if(!kvi_getLocalHostAddress(szListenIp)) { if(c)c->warning(__tr2qs_ctx("Can't retrieve a suitable local IPV4 address","dcc"), @@ -155,7 +155,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->socket()->getLocalHostIp(szListenIp,pConsole->isIpV6Connection()); + pConsole->socket()->getLocalHostIp(szListenIp,pConsole->isIPv6Connection()); } else { szListenIp = "0.0.0.0"; // huh ? :) } |
