diff options
| author | 2016-03-20 09:28:31 -0400 | |
|---|---|---|
| committer | 2016-03-20 09:28:31 -0400 | |
| commit | e936a032c42cfb1402bbee22d799a8223809a2ca (patch) | |
| tree | d854467f2fb0ac539cb4013d4d198da5faeba1e0 /src/modules/dcc | |
| parent | Added $dcc.instantSpeed KVS function (diff) | |
| download | KVIrc-e936a032c42cfb1402bbee22d799a8223809a2ca.tar.gz KVIrc-e936a032c42cfb1402bbee22d799a8223809a2ca.tar.bz2 KVIrc-e936a032c42cfb1402bbee22d799a8223809a2ca.zip | |
Changed the name of KVS $dcc.instantSpeed to $dcc.currentSpeed
Diffstat (limited to 'src/modules/dcc')
| -rw-r--r-- | src/modules/dcc/libkvidcc.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/modules/dcc/libkvidcc.cpp b/src/modules/dcc/libkvidcc.cpp index d38a98f1e..6acd8eddb 100644 --- a/src/modules/dcc/libkvidcc.cpp +++ b/src/modules/dcc/libkvidcc.cpp @@ -2540,14 +2540,14 @@ static bool dcc_kvs_fnc_averageSpeed(KviKvsModuleFunctionCall * c) } /* - @doc: dcc.instantSpeed + @doc: dcc.currentSpeed @type: function @title: - Returns the instant speed of a DCC file transfer + Returns the current speed of a DCC file transfer @syntax: - $dcc.instantSpeed - $dcc.instantSpeed(<dcc_id>) + $dcc.currentSpeed + $dcc.currentSpeed(<dcc_id>) @description: Returns the instant speed (in bytes/sec) of the specified DCC session.[br] If <dcc_id> is omitted then the DCC Session associated @@ -2560,7 +2560,7 @@ static bool dcc_kvs_fnc_averageSpeed(KviKvsModuleFunctionCall * c) See the [module:dcc]dcc module[/module] documentation for more information.[br] */ -static bool dcc_kvs_fnc_instantSpeed(KviKvsModuleFunctionCall * c) +static bool dcc_kvs_fnc_currentSpeed(KviKvsModuleFunctionCall * c) { kvs_uint_t uDccId; KVSM_PARAMETERS_BEGIN(c) @@ -2948,7 +2948,7 @@ static bool dcc_module_init(KviModule * m) KVSM_REGISTER_FUNCTION(m,"remoteFileName",dcc_kvs_fnc_remoteFileName); KVSM_REGISTER_FUNCTION(m,"remoteFileSize",dcc_kvs_fnc_remoteFileSize); KVSM_REGISTER_FUNCTION(m,"averageSpeed",dcc_kvs_fnc_averageSpeed); - KVSM_REGISTER_FUNCTION(m,"instantSpeed",dcc_kvs_fnc_instantSpeed); + KVSM_REGISTER_FUNCTION(m,"currentSpeed",dcc_kvs_fnc_currentSpeed); KVSM_REGISTER_FUNCTION(m,"transferredBytes",dcc_kvs_fnc_transferredBytes); KVSM_REGISTER_FUNCTION(m,"ircContext",dcc_kvs_fnc_ircContext); KVSM_REGISTER_FUNCTION(m,"session",dcc_kvs_fnc_session); |
