mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-11 16:51:29 +00:00
[Commands] Cleanup #opcode Command. (#2547)
* [Commands] Cleanup #opcode Command. - Cleanup logic. * Update command.cpp
This commit is contained in:
parent
730cd3f28a
commit
93d8471487
@ -239,7 +239,7 @@ int command_init(void)
|
||||
command_add("nukeitem", "[Item ID] - Removes the specified Item ID from you or your player target's inventory", AccountStatus::GMLeadAdmin, command_nukeitem) ||
|
||||
command_add("object", "List|Add|Edit|Move|Rotate|Copy|Save|Undo|Delete - Manipulate static and tradeskill objects within the zone", AccountStatus::GMAdmin, command_object) ||
|
||||
command_add("oocmute", "[0|1] - Enable or Disable Server OOC", AccountStatus::GMMgmt, command_oocmute) ||
|
||||
command_add("opcode", "opcode management", AccountStatus::GMImpossible, command_opcode) ||
|
||||
command_add("opcode", "Reloads all server patches", AccountStatus::GMImpossible, command_opcode) ||
|
||||
command_add("path", "view and edit pathing", AccountStatus::GMMgmt, command_path) ||
|
||||
command_add("peekinv", "[equip/gen/cursor/poss/limbo/curlim/trib/bank/shbank/allbank/trade/world/all] - Print out contents of your player target's inventory", AccountStatus::GMAdmin, command_peekinv) ||
|
||||
command_add("peqzone", "[Zone ID|Zone Short Name] - Teleports you to the specified zone if you meet the requirements.", AccountStatus::Player, command_peqzone) ||
|
||||
|
||||
@ -3,9 +3,7 @@
|
||||
|
||||
void command_opcode(Client *c, const Seperator *sep)
|
||||
{
|
||||
if (!strcasecmp(sep->arg[1], "reload")) {
|
||||
ReloadAllPatches();
|
||||
c->Message(Chat::White, "Opcodes for all patches have been reloaded");
|
||||
}
|
||||
ReloadAllPatches();
|
||||
c->Message(Chat::White, "Opcodes for all patches have been reloaded");
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user