tmartin19960 / temars-eve-api

Automatically exported from code.google.com/p/temars-eve-api
0 stars 0 forks source link

invalid clientID when registering alliance-less char with tea_ts_nf set to '#at# [#ct#] #name#' #109

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
TEA Version?
TEA 1.3.0 r169

SMF Version?
SMF 2.0.2

What steps will reproduce the problem?
1. Set tea_ts_nf to '#at# [#ct#] #name#'
2. Register a character without an alliance e.g. '[V.N] June Ting'
3. Attempt to sign up for teamspeak with username '[V.N] June Ting'

What is the expected output? What do you see instead?
I expect to get registration success, but instead see 'invalid clientID' 
because the Temar code is asking for ' [V.N] June Ting', but the TeamSpeak 
server strips off leading/trailing spaces and thus the names cannot exactly 
match.

Please provide any additional information below.
See attached patch for a proposed fix.

Original issue reported on code.google.com by elizabet...@gmail.com on 12 Jul 2012 at 4:39

GoogleCodeExporter commented 8 years ago
Patchfile attached.

Original comment by elizabet...@gmail.com on 12 Jul 2012 at 6:29

Attachments: