diff --git a/lib/text.js b/lib/text.js index a22334a..1b8b031 100644 --- a/lib/text.js +++ b/lib/text.js @@ -34,7 +34,7 @@ function sendText(phone, message, carrier, region, cb) { region = region || 'us'; var providers_list; - if (carrier !== null) { + if (carrier) { providers_list = carriers[carrier]; } else { providers_list = providers[region];