Fix socialspy command list.

This commit is contained in:
KHobbits 2013-02-17 18:05:07 +00:00
parent 31f3662101
commit 3ddbeea45a

View file

@ -243,7 +243,7 @@ public class Settings implements ISettings
{ {
Set<String> socialspyCommands = new HashSet<String>(); Set<String> socialspyCommands = new HashSet<String>();
if (config.isConfigurationSection("socialspy-commands")) if (config.isList("socialspy-commands"))
{ {
for (String c : config.getStringList("socialspy-commands")) for (String c : config.getStringList("socialspy-commands"))
{ {