minetest / serverlist

The global Minetest server list server
GNU Lesser General Public License v2.1
50 stars 28 forks source link

Update detection of guest clients #14

Closed sfan5 closed 7 years ago

nerzhul commented 8 years ago

note sure it's a good enhancement this could match nrz255 for example

sfan5 commented 8 years ago

It won't, it only matches if the first letter is uppercase.

est31 commented 8 years ago

So when I read that correctly, players with the name Celeron55 will still be counted, as they only have two digits?

sfan5 commented 8 years ago

No, only players with:

Edit: I have looked at the active player names while writing the regex and it didn't match any name that didn't look like a guest client name to me.

est31 commented 8 years ago

Nice

sfan5 commented 7 years ago

(I already have this applied in production anyway)