mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-10-14 04:13:14 -04:00
comment on issue with reserved name filter - it just doesn't work.
This commit is contained in:
@@ -485,6 +485,7 @@ public class CharacterService implements INetworkDispatch {
|
||||
String combinedName = firstName + " " + lastName;
|
||||
combinedName.replaceAll("\\s*$", "");
|
||||
|
||||
//we could consider using LIKE here, or some form of regex. either way it doesn't work right at the moment -ilikenwf
|
||||
String query = "SELECT \"type\" FROM \"reservednames\" WHERE (\"match_firstname\" = TRUE AND ? ~ \"pattern\") OR (\"match_both_names\" = TRUE and ? ~ \"pattern\") ";
|
||||
if (lastName != "")
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user