summaryrefslogtreecommitdiff
path: root/src/actions
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-02-24 17:19:40 +0300
committerAndrei Karas <akaras@inbox.ru>2016-02-24 17:19:40 +0300
commit142cdd218fe10efbea5ceb78cb7947812c35e19e (patch)
tree38a40bddc3b8c9d719ad3f370aecd4ceb191f728 /src/actions
parent66c5eb00b62cba0244446a8306dde1ae138d2e06 (diff)
downloadmv-142cdd218fe10efbea5ceb78cb7947812c35e19e.tar.gz
mv-142cdd218fe10efbea5ceb78cb7947812c35e19e.tar.bz2
mv-142cdd218fe10efbea5ceb78cb7947812c35e19e.tar.xz
mv-142cdd218fe10efbea5ceb78cb7947812c35e19e.zip
Add chat command /gmcharcommands. Also add show char commands to player context menu.
Diffstat (limited to 'src/actions')
-rw-r--r--src/actions/commands.cpp6
-rw-r--r--src/actions/commands.h1
2 files changed, 7 insertions, 0 deletions
diff --git a/src/actions/commands.cpp b/src/actions/commands.cpp
index 8bccbc9cd..6cd543707 100644
--- a/src/actions/commands.cpp
+++ b/src/actions/commands.cpp
@@ -1269,4 +1269,10 @@ impHandler(playerGmCommands)
return true;
}
+impHandler(playerCharGmCommands)
+{
+ adminHandler->playerCharGmCommands(event.args);
+ return true;
+}
+
} // namespace Actions
diff --git a/src/actions/commands.h b/src/actions/commands.h
index ffcdde479..a950b4d50 100644
--- a/src/actions/commands.h
+++ b/src/actions/commands.h
@@ -103,6 +103,7 @@ namespace Actions
decHandler(mobSearch);
decHandler(mobSpawnSearch);
decHandler(playerGmCommands);
+ decHandler(playerCharGmCommands);
} // namespace Actions
#undef decHandler