Fix an oops

This commit is contained in:
tgpethan 2021-02-07 01:25:17 +00:00
parent 8de96ca8b7
commit 54afd81817

View file

@ -257,7 +257,7 @@ module.exports = {
getCountryID:function(code = "") {
// Get id of a country from a 2 char code
code = code.toUpperCase();
if (countryCodes[s] != null) return countryCodes[s];
if (countryCodes[code] != null) return countryCodes[code];
else return 0;
},