summaryrefslogtreecommitdiffstats
path: root/src/modules/mask/libkvimask.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/mask/libkvimask.cpp')
-rw-r--r--src/modules/mask/libkvimask.cpp28
1 files changed, 14 insertions, 14 deletions
diff --git a/src/modules/mask/libkvimask.cpp b/src/modules/mask/libkvimask.cpp
index 0e810c34..0c75fc52 100644
--- a/src/modules/mask/libkvimask.cpp
+++ b/src/modules/mask/libkvimask.cpp
@@ -47,7 +47,7 @@
[/example]
*/
-static bool tqmask_kvs_fnc_match(KviKvsModuleFunctionCall * c)
+static bool mask_kvs_fnc_match(KviKvsModuleFunctionCall * c)
{
TQString wildtqmask,fixedtqmask;
@@ -75,7 +75,7 @@ static bool tqmask_kvs_fnc_match(KviKvsModuleFunctionCall * c)
Returns the nickname part of an IRC tqmask.
*/
-static bool tqmask_kvs_fnc_nick(KviKvsModuleFunctionCall * c)
+static bool mask_kvs_fnc_nick(KviKvsModuleFunctionCall * c)
{
TQString tqmask;
@@ -101,7 +101,7 @@ static bool tqmask_kvs_fnc_nick(KviKvsModuleFunctionCall * c)
Returns the username part of an IRC tqmask.
*/
-static bool tqmask_kvs_fnc_user(KviKvsModuleFunctionCall * c)
+static bool mask_kvs_fnc_user(KviKvsModuleFunctionCall * c)
{
TQString tqmask;
@@ -128,7 +128,7 @@ static bool tqmask_kvs_fnc_user(KviKvsModuleFunctionCall * c)
Returns the hostname part of an IRC tqmask.
*/
-static bool tqmask_kvs_fnc_host(KviKvsModuleFunctionCall * c)
+static bool mask_kvs_fnc_host(KviKvsModuleFunctionCall * c)
{
TQString tqmask;
KVSM_PARAMETERS_BEGIN(c)
@@ -155,7 +155,7 @@ static bool tqmask_kvs_fnc_host(KviKvsModuleFunctionCall * c)
*/
-static bool tqmask_kvs_fnc_hasnumerichost(KviKvsModuleFunctionCall * c)
+static bool mask_kvs_fnc_hasnumerichost(KviKvsModuleFunctionCall * c)
{
TQString tqmask;
KVSM_PARAMETERS_BEGIN(c)
@@ -173,18 +173,18 @@ static bool tqmask_kvs_fnc_hasnumerichost(KviKvsModuleFunctionCall * c)
-static bool tqmask_module_init(KviModule * m)
+static bool mask_module_init(KviModule * m)
{
- KVSM_REGISTER_FUNCTION(m,"match",tqmask_kvs_fnc_match);
- KVSM_REGISTER_FUNCTION(m,"nick",tqmask_kvs_fnc_nick);
- KVSM_REGISTER_FUNCTION(m,"user",tqmask_kvs_fnc_user);
- KVSM_REGISTER_FUNCTION(m,"host",tqmask_kvs_fnc_host);
- KVSM_REGISTER_FUNCTION(m,"hasnumerichost",tqmask_kvs_fnc_hasnumerichost);
+ KVSM_REGISTER_FUNCTION(m,"match",mask_kvs_fnc_match);
+ KVSM_REGISTER_FUNCTION(m,"nick",mask_kvs_fnc_nick);
+ KVSM_REGISTER_FUNCTION(m,"user",mask_kvs_fnc_user);
+ KVSM_REGISTER_FUNCTION(m,"host",mask_kvs_fnc_host);
+ KVSM_REGISTER_FUNCTION(m,"hasnumerichost",mask_kvs_fnc_hasnumerichost);
return true;
}
-static bool tqmask_module_cleanup(KviModule *m)
+static bool mask_module_cleanup(KviModule *m)
{
return true;
}
@@ -194,8 +194,8 @@ KVIRC_MODULE(
"1.0.0", // module version
"Copyright (C) 2002 Szymon Stefanek (pragma at kvirc dot net)",
"Mask manipulation functions",
- tqmask_module_init,
+ mask_module_init,
0,
0,
- tqmask_module_cleanup
+ mask_module_cleanup
)