Remove command_logsql as it is completely unecessary now

This commit is contained in:
Akkadius 2015-01-24 03:40:11 -06:00
parent 443e3bf8a7
commit acb78cec17

View File

@ -360,7 +360,6 @@ int command_init(void) {
command_add("timers","- Display persistent timers for target",200,command_timers) ||
command_add("hp","- Refresh your HP bar from the server.",0,command_hp) ||
command_add("pf","- Display additional mob coordinate and wandering data",0,command_pf) ||
command_add("logsql","- enable SQL logging",200,command_logsql) ||
command_add("bestz","- Ask map for a good Z coord for your x,y coords.",0,command_bestz) ||
command_add("ginfo","- get group info on target.",20,command_ginfo) ||
command_add("path","- view and edit pathing",200,command_path) ||
@ -6733,16 +6732,6 @@ void command_opcode(Client *c, const Seperator *sep) {
}
}
void command_logsql(Client *c, const Seperator *sep) {
if(!strcasecmp(sep->arg[1], "off" )) {
c->ChangeSQLLog(nullptr);
} else if(sep->arg[1][0] != '\0') {
c->ChangeSQLLog(sep->argplus[1]);
} else {
c->Message(0, "Usage: #logsql (file name)");
}
}
void command_qglobal(Client *c, const Seperator *sep) {
//In-game switch for qglobal column
if(sep->arg[1][0] == 0) {