aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/str/libkvistr.cpp
diff options
context:
space:
mode:
authorGravatar un1versal2015-12-09 11:58:53 +0000
committerGravatar un1versal2015-12-19 02:40:22 +0000
commit7d4516afc4cd194f9224dcd5e07e0f234c162fdf (patch)
treea1a165c897339fcbd35a27108fe16c999a3041e2 /src/modules/str/libkvistr.cpp
parentMerge pull request #1776 from TheReign/issue_1754_2 (diff)
downloadKVIrc-7d4516afc4cd194f9224dcd5e07e0f234c162fdf.tar.gz
KVIrc-7d4516afc4cd194f9224dcd5e07e0f234c162fdf.tar.bz2
KVIrc-7d4516afc4cd194f9224dcd5e07e0f234c162fdf.zip
src/modules typos: capitalize, formatting, consistency and syntax fixes
Diffstat (limited to 'src/modules/str/libkvistr.cpp')
-rw-r--r--src/modules/str/libkvistr.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/str/libkvistr.cpp b/src/modules/str/libkvistr.cpp
index bdd812895..bfc185366 100644
--- a/src/modules/str/libkvistr.cpp
+++ b/src/modules/str/libkvistr.cpp
@@ -473,8 +473,8 @@ static bool str_kvs_fnc_cmp(KviKvsModuleFunctionCall * c)
This function search in the string given as the first parameter for the string
given as his second parameter, and will return the index where the nth occurrence
given as the third parameter is found or -1 if it's not located. It starts
- counting at 0. If occurence is not specified then the first occurence
- is searched. WARNING: The occurence number starts from 1! (Yes, that's a bug, but
+ counting at 0. If occurrence is not specified then the first occurrence
+ is searched. WARNING: The occurrence number starts from 1! (Yes, that's a bug, but
for backward compatibility it must remain as it is :( ).[br]
FIXME: The semantics of this function are totally broken :(
*/