]> git.mxchange.org Git - quix0rs-gnu-social.git/commit
Fix for Blacklist plugin: was saving an empty entry if blacklist was empty, which...
authorBrion Vibber <brion@pobox.com>
Fri, 23 Apr 2010 14:17:52 +0000 (07:17 -0700)
committerBrion Vibber <brion@pobox.com>
Fri, 23 Apr 2010 14:17:52 +0000 (07:17 -0700)
commit390a2a8624b71be7d598b945452fc6e0000f3df5
tree8c1f107354abbae927f49406ebc5f50e46bb8cc3
parent67b8b1334fc53fb06f1a751e534533e30b7cfd01
Fix for Blacklist plugin: was saving an empty entry if blacklist was empty, which would match *all* possible nickname registrations, preventing all registration on mozilla.status.net.
Now saving only non-empty lines, and only matching non-empty lines so we don't fail if we still have a bogus entry.
plugins/Blacklist/BlacklistPlugin.php
plugins/Blacklist/blacklistadminpanel.php