mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-17 18:41:29 +00:00
Remove command_logsql as it is completely unecessary now
This commit is contained in:
parent
443e3bf8a7
commit
acb78cec17
@ -360,7 +360,6 @@ int command_init(void) {
|
|||||||
command_add("timers","- Display persistent timers for target",200,command_timers) ||
|
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("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("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("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("ginfo","- get group info on target.",20,command_ginfo) ||
|
||||||
command_add("path","- view and edit pathing",200,command_path) ||
|
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) {
|
void command_qglobal(Client *c, const Seperator *sep) {
|
||||||
//In-game switch for qglobal column
|
//In-game switch for qglobal column
|
||||||
if(sep->arg[1][0] == 0) {
|
if(sep->arg[1][0] == 0) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user