aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/mask/libkvimask.cpp
diff options
context:
space:
mode:
authorGravatar un1versal2016-03-02 12:15:44 +0000
committerGravatar un1versal2016-03-14 04:57:12 +0000
commitf138911b65dfce85c551f9e2e4bbeb595d6c6755 (patch)
tree701d5eec803c30160be47f8762b5838e57bc44dd /src/modules/mask/libkvimask.cpp
parentcleanup: add or remove empty lines between documentation blocks & code (diff)
downloadKVIrc-f138911b65dfce85c551f9e2e4bbeb595d6c6755.tar.gz
KVIrc-f138911b65dfce85c551f9e2e4bbeb595d6c6755.tar.bz2
KVIrc-f138911b65dfce85c551f9e2e4bbeb595d6c6755.zip
documentation: formatting/indentation + minor syntax fixes
+ Dont use double quotes to emphasise words in normal circumstances. + improve indenting + consistency (good for readability when editing source) + also replace single quotes
Diffstat (limited to 'src/modules/mask/libkvimask.cpp')
-rw-r--r--src/modules/mask/libkvimask.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/modules/mask/libkvimask.cpp b/src/modules/mask/libkvimask.cpp
index d5d856821..04e9d24b6 100644
--- a/src/modules/mask/libkvimask.cpp
+++ b/src/modules/mask/libkvimask.cpp
@@ -38,11 +38,11 @@
@syntax:
<boolean> $mask.match(<wildcard_mask:string>,<fixed_mask:string>)
@description:
- Returns 1 if the <wildcard_mask> matches <fixed_mask> and 0 otherwise.
- <wildcard_mask> can obviously contain wildcards ('*' and '?').
+ Returns [b]1[/b] if the <wildcard_mask> matches <fixed_mask> and [b]0[/b] otherwise.
+ <wildcard_mask> can obviously contain wildcards ([b]*[/b] and [b]?[/b]).
@example:
[example]
- [cmd]if[/cmd]($mask.match(*!*@*.linux.it,$0))
+ [cmd]if[/cmd]($mask.match(*!*@*.linux.it,$0))
[cmd]op[/cmd] [fnc]$mask.nick[/fnc]($0)
[/example]
*/
@@ -148,7 +148,7 @@ static bool mask_kvs_fnc_host(KviKvsModuleFunctionCall * c)
@syntax:
<boolean> $mask.hasNumericHost(<mask: string>)
@description:
- Returns 1 if the hostname part of the mask is numeric (e.g. unresolved IPv4 or IPv6 address).
+ Returns [b]1[/b] if the hostname part of the mask is numeric (e.g. unresolved IPv4 or IPv6 address).
*/