aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar wodim2017-03-02 22:58:09 +0100
committerGravatar wodim2017-03-02 22:58:09 +0100
commit1c936aed637628fe423aa671b666ec360ac41353 (patch)
tree5ff965ede51353d2b5c1c3d1e3a91073497c89cd /src
parentswitch to the correct window even if it's open already (diff)
downloadKVIrc-1c936aed637628fe423aa671b666ec360ac41353.tar.gz
KVIrc-1c936aed637628fe423aa671b666ec360ac41353.tar.bz2
KVIrc-1c936aed637628fe423aa671b666ec360ac41353.zip
misc doc fixes
Diffstat (limited to 'src')
-rw-r--r--src/kvirc/kvs/KviKvsCoreFunctions_af.cpp8
-rw-r--r--src/kvirc/kvs/KviKvsCoreFunctions_mr.cpp3
-rw-r--r--src/kvirc/kvs/KviKvsCoreSimpleCommands_af.cpp6
-rw-r--r--src/modules/chan/libkvichan.cpp2
4 files changed, 11 insertions, 8 deletions
diff --git a/src/kvirc/kvs/KviKvsCoreFunctions_af.cpp b/src/kvirc/kvs/KviKvsCoreFunctions_af.cpp
index feb6c6770..3955adc74 100644
--- a/src/kvirc/kvs/KviKvsCoreFunctions_af.cpp
+++ b/src/kvirc/kvs/KviKvsCoreFunctions_af.cpp
@@ -168,7 +168,9 @@ namespace KviKvsCoreFunctions
will first encode the string in UTF-8 and then base64-encode.
This means that it is substantially only 7-bit safe (ASCII codes below 128).
@examples:
- [cmd]echo[/cmd] $asciiToBase64("Hello!")
+ [example]
+ [cmd]echo[/cmd] $asciiToBase64("Hello!")
+ [/example]
@seealso:
[fnc]$base64toascii[/fnc]
*/
@@ -210,7 +212,9 @@ namespace KviKvsCoreFunctions
will first encode the string in UTF-8 and then hex-encode.
This means that it is substantially only 7bit safe (ASCII codes below 128).
@examples:
- [cmd]echo[/cmd] $asciiToHex("Hello!")
+ [example]
+ [cmd]echo[/cmd] $asciiToHex("Hello!")
+ [/example]
@seealso:
[fnc]$hextoascii[/fnc]
*/
diff --git a/src/kvirc/kvs/KviKvsCoreFunctions_mr.cpp b/src/kvirc/kvs/KviKvsCoreFunctions_mr.cpp
index 6205f76e0..dd7be1d7e 100644
--- a/src/kvirc/kvs/KviKvsCoreFunctions_mr.cpp
+++ b/src/kvirc/kvs/KviKvsCoreFunctions_mr.cpp
@@ -537,9 +537,6 @@ namespace KviKvsCoreFunctions
$rand is automatically seeded with value of 1.
If no <max> is specified, this function returns an integer between
0 and RAND_MAX that is system dependent.
- @examples:
- [example]
- [/example]
@seealso:
[cmd]srand[/cmd]
*/
diff --git a/src/kvirc/kvs/KviKvsCoreSimpleCommands_af.cpp b/src/kvirc/kvs/KviKvsCoreSimpleCommands_af.cpp
index a66ffac23..a5a11bd13 100644
--- a/src/kvirc/kvs/KviKvsCoreSimpleCommands_af.cpp
+++ b/src/kvirc/kvs/KviKvsCoreSimpleCommands_af.cpp
@@ -1063,8 +1063,10 @@ namespace KviKvsCoreSimpleCommands
@short:
Prints an error message and stops the script
@description:
- Prints an error message and stops the current script
+ Prints an error message and stops the current script.
This command is equivalent to [cmd]error[/cmd]
+ @seealso:
+ [cmd]warning[/cmd]
*/
// Internally aliased to error
@@ -1332,7 +1334,7 @@ namespace KviKvsCoreSimpleCommands
@short:
Prints an error message and stops the script
@description:
- Prints an error message and stops the current script
+ Prints an error message and stops the current script.
This command is equivalent to [cmd]die[/cmd]
@seealso:
[cmd]warning[/cmd]
diff --git a/src/modules/chan/libkvichan.cpp b/src/modules/chan/libkvichan.cpp
index 05621ff98..bc655fa08 100644
--- a/src/modules/chan/libkvichan.cpp
+++ b/src/modules/chan/libkvichan.cpp
@@ -1152,7 +1152,7 @@ static bool chan_kvs_fnc_modeParam(KviKvsModuleFunctionCall * c)
if it matches the [mask].[br]
[flags] may contain a subset of the letters [b]aovhnmi[/b]:[br]
[b]ovhn[/b] are mode flags: the users are added to the array only if they are channel administrators [b]a[/b], operators [b]o[/b],
- voiced users [b]v[/b], half-operators [b]h[/b], user-operators [b]u[/b] or unflagged [b]n[b] users. (Unflagged means not operators, not
+ voiced users [b]v[/b], half-operators [b]h[/b], user-operators [b]u[/b] or unflagged [b]n[/b] users. (Unflagged means not operators, not
voiced and not half-operators). If none of the [b]ovhun[/b] flags are used, KVIrc behaves like all five were passed.[br]
The flag [b]m[/b] causes the entire user masks to be added to the
array entries, as known by KVIrc at the moment of this function call.[br]