[Logging] Table Injection - Member Variable Cleanup (#2281)

* Logsys member variable cleanup, table injection

* Private member adjustments, OOB checks

* continue
This commit is contained in:
Chris Miles
2022-07-06 22:01:47 -05:00
committed by GitHub
parent 5c105d7408
commit eca4eed996
5 changed files with 115 additions and 55 deletions
+2 -2
View File
@@ -25,7 +25,7 @@ void command_logs(Client *c, const Seperator *sep)
);
return;
}
bool is_list = !strcasecmp(sep->arg[1], "list");
bool is_reload = !strcasecmp(sep->arg[1], "reload");
bool is_set = !strcasecmp(sep->arg[1], "set");
@@ -73,7 +73,7 @@ void command_logs(Client *c, const Seperator *sep)
max_category_id = (Logs::LogCategory::MaxCategoryID - 1);
break;
}
popup_text += fmt::format(
"<tr><td>{}</td><td>{}</td><td>{}</td><td>{}</td><td>{}</td></tr>",
index,