summaryrefslogtreecommitdiff
path: root/src/commands.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-05-18 20:53:02 +0300
committerAndrei Karas <akaras@inbox.ru>2013-05-18 20:53:02 +0300
commite9c0ad590dc46f70e0ab8f48b4fa3c0532314d7f (patch)
treed29207d095a070988af1e1d0866b1f5d46de1fe9 /src/commands.cpp
parent261edddd92ec02c1d278213e730aa30a1fea71d0 (diff)
downloadManaVerse-e9c0ad590dc46f70e0ab8f48b4fa3c0532314d7f.tar.gz
ManaVerse-e9c0ad590dc46f70e0ab8f48b4fa3c0532314d7f.tar.bz2
ManaVerse-e9c0ad590dc46f70e0ab8f48b4fa3c0532314d7f.tar.xz
ManaVerse-e9c0ad590dc46f70e0ab8f48b4fa3c0532314d7f.zip
fix compilation warnings.
Diffstat (limited to 'src/commands.cpp')
-rw-r--r--src/commands.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/commands.cpp b/src/commands.cpp
index 857212aa3..da771ede4 100644
--- a/src/commands.cpp
+++ b/src/commands.cpp
@@ -1144,7 +1144,7 @@ impHandler1(execute)
execFile(name, name, params, "");
}
-impHandler1(enableHighlight)
+impHandler2(enableHighlight)
{
if (tab)
{
@@ -1154,7 +1154,7 @@ impHandler1(enableHighlight)
}
}
-impHandler1(disableHighlight)
+impHandler2(disableHighlight)
{
if (tab)
{
@@ -1164,28 +1164,28 @@ impHandler1(disableHighlight)
}
}
-impHandler1(dontRemoveName)
+impHandler2(dontRemoveName)
{
tab->setRemoveNames(false);
if (chatWindow)
chatWindow->saveState();
}
-impHandler1(removeName)
+impHandler2(removeName)
{
tab->setRemoveNames(true);
if (chatWindow)
chatWindow->saveState();
}
-impHandler1(disableAway)
+impHandler2(disableAway)
{
tab->setNoAway(true);
if (chatWindow)
chatWindow->saveState();
}
-impHandler1(enableAway)
+impHandler2(enableAway)
{
tab->setNoAway(false);
if (chatWindow)