diff options
| author | 2010-10-16 15:21:19 +0000 | |
|---|---|---|
| committer | 2010-10-16 15:21:19 +0000 | |
| commit | c64ecad0ee25cb739d236da0e29a988cd88bae94 (patch) | |
| tree | 59ecc67574974a93883f7a1d58852627e2fd1a32 /src/modules/dcc/libkvidcc.cpp | |
| parent | $str.printf: applied patch from #996 and fixed ?f and ?e format strings when ... (diff) | |
| download | KVIrc-c64ecad0ee25cb739d236da0e29a988cd88bae94.tar.gz KVIrc-c64ecad0ee25cb739d236da0e29a988cd88bae94.tar.bz2 KVIrc-c64ecad0ee25cb739d236da0e29a988cd88bae94.zip | |
applied further patches for #996
git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@5075 17fca916-40b9-46aa-a4ea-0a15b648b75c
Diffstat (limited to 'src/modules/dcc/libkvidcc.cpp')
| -rw-r--r-- | src/modules/dcc/libkvidcc.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/dcc/libkvidcc.cpp b/src/modules/dcc/libkvidcc.cpp index 7f0b94220..9fec7efd6 100644 --- a/src/modules/dcc/libkvidcc.cpp +++ b/src/modules/dcc/libkvidcc.cpp @@ -2713,7 +2713,7 @@ static bool dcc_kvs_fnc_sessionList(KviKvsModuleFunctionCall * c) The second <type> parameter can be "local" or "remote", and refers to the certificate you want to query the information from; if omitted, it defaults to "remote".[br] If <dcc_id> is omitted then the DCC Session associated to the current window is assumed.[br] - If <dcc_id> is not a valid DCC session identifier (or it is omitted and the current window + If <dcc_id> is not a valid DCC session identifier (or it is omitted and the current window has no associated DCC session) then this function prints a warning and returns an empty sting.[br] If the DCC session is not using ssl then this function returns an empty string.[br] Some queries can accept an optional parameter <param1>[br] @@ -2745,7 +2745,7 @@ static bool dcc_kvs_fnc_sessionList(KviKvsModuleFunctionCall * c) [/ul] @examples: [example] - # get a sha256 fingerprint of remote peer's certificate + # get a sha256 fingerprint of remote peer's certificate $dcc.getSSLCertInfo(fingerprintContents,remote,$dcc.session,sha256) [/example] @seealso: @@ -2810,7 +2810,7 @@ static bool dcc_kvs_fnc_getSSLCertInfo(KviKvsModuleFunctionCall * c) c->returnValue()->setString(""); return true; } - + KviSSL * pSSL = pSlaveThread->getSSL(); if(!pSSL) { |
