summaryrefslogtreecommitdiff
path: root/src/scripts/Commands/cs_debug.cpp
diff options
context:
space:
mode:
authorShinDarth <borzifrancesco@gmail.com>2016-08-24 01:14:28 +0200
committerShinDarth <borzifrancesco@gmail.com>2016-08-24 01:14:28 +0200
commitd538b86a4710ab056556e6ea144e4ed38b9ec6c2 (patch)
tree88444e38f121add1a5c44edd92ddeb697dc42a24 /src/scripts/Commands/cs_debug.cpp
parent17061cbbb481122317a8a54aef508f3eca475a0b (diff)
Core/Chat: properly prevent crashes + cleaning (import from TrinityCore)
- Closes #111
Diffstat (limited to 'src/scripts/Commands/cs_debug.cpp')
-rw-r--r--src/scripts/Commands/cs_debug.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/scripts/Commands/cs_debug.cpp b/src/scripts/Commands/cs_debug.cpp
index 31c55bbb85..5b627d9693 100644
--- a/src/scripts/Commands/cs_debug.cpp
+++ b/src/scripts/Commands/cs_debug.cpp
@@ -82,9 +82,8 @@ public:
};
static std::vector<ChatCommand> commandTable =
{
- { "debug", SEC_GAMEMASTER, true, nullptr, "", debugCommandTable },
- { "wpgps", SEC_ADMINISTRATOR, false, &HandleWPGPSCommand, "", },
- { nullptr, SEC_PLAYER, false, nullptr, "", }
+ { "debug", SEC_GAMEMASTER, true, nullptr, "", debugCommandTable },
+ { "wpgps", SEC_ADMINISTRATOR, false, &HandleWPGPSCommand, "", }
};
return commandTable;
}