mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2025-01-31 09:57:14 +01:00
Remove duplicate information when warning about command name collisions.
This commit is contained in:
parent
3e17710d43
commit
3a08e17cad
@ -112,8 +112,8 @@ Object & CmdManager::Attach(const String & name, CmdListener * ptr, bool autorel
|
|||||||
}
|
}
|
||||||
// Now it's safe to throw the exception
|
// Now it's safe to throw the exception
|
||||||
// (include information necessary to help identify hash collisions!)
|
// (include information necessary to help identify hash collisions!)
|
||||||
STHROWF("Command (%s:%zu) already exists as (%s:%zu)",
|
STHROWF("Command '%s' already exists as '%s' for hash (%zu)",
|
||||||
name.c_str(), hash, cmd.mName.c_str(), cmd.mHash);
|
name.c_str(), cmd.mName.c_str(), hash);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// Obtain the initial stack size
|
// Obtain the initial stack size
|
||||||
|
Loading…
x
Reference in New Issue
Block a user