mirror of
https://github.com/diamante0018/BlackOpsPlugin.git
synced 2025-04-20 18:35:42 +00:00
Oops
This commit is contained in:
parent
81de096cdd
commit
c8280ca779
@ -56,7 +56,7 @@ void add_raw(const char* name, void (*callback)()) {
|
||||
void add(const char* name, const std::function<void(const params&)>& callback) {
|
||||
const auto command = utils::string::to_lower(name);
|
||||
|
||||
if (!handlers.contains(name)) {
|
||||
if (!handlers.contains(command)) {
|
||||
add_raw(name, main_handler);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user