summaryrefslogtreecommitdiffstats
path: root/src/modules/avatar
diff options
context:
space:
mode:
authorDarrell Anderson <humanreadable@yahoo.com>2012-04-13 02:36:47 -0500
committerDarrell Anderson <humanreadable@yahoo.com>2012-04-13 02:36:47 -0500
commita24a8595fc6663038f6ce26cfed6276910eef984 (patch)
treed8e1a65d9464de15750b6680820b828f9ab29406 /src/modules/avatar
parent00ec3a9a04347a4c1ab434944fecd5e56607b13d (diff)
downloadkvirc-a24a8595fc6663038f6ce26cfed6276910eef984.tar.gz
kvirc-a24a8595fc6663038f6ce26cfed6276910eef984.zip
Fix inadvertent "TQ" changes.
Diffstat (limited to 'src/modules/avatar')
-rw-r--r--src/modules/avatar/libkviavatar.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/modules/avatar/libkviavatar.cpp b/src/modules/avatar/libkviavatar.cpp
index 8386942b..0ed81a51 100644
--- a/src/modules/avatar/libkviavatar.cpp
+++ b/src/modules/avatar/libkviavatar.cpp
@@ -186,7 +186,7 @@ static bool avatar_kvs_cmd_set(KviKvsModuleCommandCall * c)
KVSM_PARAMETER("avatar",KVS_PT_NONEMPTYSTRING,KVS_PF_OPTIONAL,szAvatar)
KVSM_PARAMETERS_END(c)
- KVSM_RETQUIRE_CONNECTION(c)
+ KVSM_REQUIRE_CONNECTION(c)
TQString absPath;
@@ -275,7 +275,7 @@ static bool avatar_kvs_cmd_set(KviKvsModuleCommandCall * c)
static bool avatar_kvs_cmd_unset(KviKvsModuleCommandCall * c)
{
- KVSM_RETQUIRE_CONNECTION(c)
+ KVSM_REQUIRE_CONNECTION(c)
KviIrcUserEntry * e = c->window()->connection()->userDataBase()->find(c->window()->connection()->currentNickName());
if(!e)
@@ -340,7 +340,7 @@ static bool avatar_kvs_cmd_notify(KviKvsModuleCommandCall * c)
KVSM_PARAMETER("target",KVS_PT_NONEMPTYSTRING,0,szTarget)
KVSM_PARAMETERS_END(c)
- KVSM_RETQUIRE_CONNECTION(c)
+ KVSM_REQUIRE_CONNECTION(c)
kvs_int_t iTimeout = (kvs_int_t)KVI_OPTION_UINT(KviOption_uintAvatarOfferTimeoutInSecs);
if(KviKvsVariant * pTimeout = c->switches()->find('t',"timeout"))
@@ -450,7 +450,7 @@ static bool avatar_kvs_fnc_name(KviKvsModuleFunctionCall * c)
KVSM_PARAMETER("nick",KVS_PT_STRING,KVS_PF_OPTIONAL,szNick)
KVSM_PARAMETERS_END(c)
- KVSM_RETQUIRE_CONNECTION(c)
+ KVSM_REQUIRE_CONNECTION(c)
if(szNick.isEmpty())szNick = c->window()->connection()->currentNickName();
@@ -494,7 +494,7 @@ static bool avatar_kvs_fnc_path(KviKvsModuleFunctionCall * c)
KVSM_PARAMETER("path",KVS_PT_STRING,KVS_PF_OPTIONAL,szNick)
KVSM_PARAMETERS_END(c)
- KVSM_RETQUIRE_CONNECTION(c)
+ KVSM_REQUIRE_CONNECTION(c)
if(szNick.isEmpty())szNick = c->window()->connection()->currentNickName();
@@ -536,7 +536,7 @@ static bool avatar_kvs_cmd_query(KviKvsModuleCommandCall * c)
KVSM_PARAMETER("target",KVS_PT_NONEMPTYSTRING,0,szName)
KVSM_PARAMETERS_END(c)
- KVSM_RETQUIRE_CONNECTION(c)
+ KVSM_REQUIRE_CONNECTION(c)
KviTQCString target = c->window()->connection()->encodeText(szName);
c->window()->connection()->sendFmtData("PRIVMSG %s :%cAVATAR%c",target.data(),0x01,0x01);