From 99bb0721ba1617031ab4d0a4dec0bdb69a1c1a8c Mon Sep 17 00:00:00 2001 From: Elijah Perrault Date: Fri, 22 Apr 2011 02:25:00 -0600 Subject: [PATCH] Fixing Matt's fails. --- modules/Bitly.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/Bitly.pm b/modules/Bitly.pm index bf17d2d..a6779a1 100644 --- a/modules/Bitly.pm +++ b/modules/Bitly.pm @@ -13,8 +13,8 @@ use URI::Escape; sub _init { # Check for required configuration values. - if (!(conf_get('bitly:user'))[0][0] or !(conf_get('bitly:key'))[0][0]) { - err(2, 'Please verify that you have bitly_user and bitly_key defined in your configuration file.', 0); + if (!conf_get('bitly:user') or !conf_get('bitly:key')) { + err(2, 'Bitly: Please verify that you have bitly_user and bitly_key defined in your configuration file.', 0); return; } # Create the SHORTEN and REVERSE commands.