diff --git a/zone/command.cpp b/zone/command.cpp index 3fe2374f7..322bc0611 100755 --- a/zone/command.cpp +++ b/zone/command.cpp @@ -285,7 +285,6 @@ int command_init(void) command_add("loc", "- Print out your or your target's current location and heading", 0, command_loc) || command_add("lock", "- Lock the worldserver", 150, command_lock) || command_add("logs", "Manage anything to do with logs", 250, command_logs) || - command_add("logtest", "Performs log performance testing.", 250, command_logtest) || command_add("makepet", "[level] [class] [race] [texture] - Make a pet", 50, command_makepet) || command_add("mana", "- Fill your or your target's mana", 50, command_mana) || command_add("maxskills", "Maxes skills for you.", 200, command_max_all_skills) || @@ -14688,18 +14687,6 @@ void command_tune(Client *c, const Seperator *sep) return; } -void command_logtest(Client *c, const Seperator *sep){ - clock_t t = std::clock(); /* Function timer start */ - if (sep->IsNumber(1)){ - uint32 i = 0; - t = std::clock(); - for (i = 0; i < atoi(sep->arg[1]); i++){ - LogDebug("[[{}]] Test #2 Took [{}] seconds", i, ((float)(std::clock() - t)) / CLOCKS_PER_SEC); - } - - } -} - void command_logs(Client *c, const Seperator *sep){ int logs_set = 0; if (sep->argnum > 0) { diff --git a/zone/command.h b/zone/command.h index 37bad3dd6..b0d5ccc40 100644 --- a/zone/command.h +++ b/zone/command.h @@ -165,7 +165,6 @@ void command_load_shared_memory(Client *c, const Seperator *sep); void command_loc(Client *c, const Seperator *sep); void command_lock(Client *c, const Seperator *sep); void command_logs(Client *c, const Seperator *sep); -void command_logtest(Client *c, const Seperator *sep); void command_makepet(Client *c, const Seperator *sep); void command_mana(Client *c, const Seperator *sep); void command_max_all_skills(Client *c, const Seperator *sep);