diff --git a/Formula/inspircd.rb b/Formula/inspircd.rb index 691bbbfe6d..1ce7b0df4b 100644 --- a/Formula/inspircd.rb +++ b/Formula/inspircd.rb @@ -28,9 +28,9 @@ class Inspircd < Formula modules << 'm_geoip.cpp' if build.with? 'geoip' modules << 'm_ssl_gnutls.cpp' if build.with? 'gnutls' modules << 'm_mysql.cpp' if build.with? 'mysql' - modules << 'm_ssl_openssl.cpp' unless build.without? 'openssl' - modules << 'm_ldapauth.cpp' unless build.without? 'ldap' - modules << 'm_ldapoper.cpp' unless build.without? 'ldap' + modules << 'm_ssl_openssl.cpp' if build.with? 'openssl' + modules << 'm_ldapauth.cpp' if build.with? 'ldap' + modules << 'm_ldapoper.cpp' if build.with? 'ldap' modules << 'm_regex_pcre.cpp' if build.with? 'pcre' modules << 'm_pgsql.cpp' if build.with? 'postgresql' modules << 'm_sqlite3.cpp' if build.with? 'sqlite'