[trunk] add new config setting warn-on-smite: true setting this to false will not tell people they are smited when using /lightning

git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1289 e251c2fe-e539-e718-e476-b85c1f46cddb
This commit is contained in:
ementalo 2011-04-29 08:48:29 +00:00
parent 2b915e72fa
commit 94774a32ac
3 changed files with 11 additions and 0 deletions

View file

@ -473,4 +473,9 @@ public class Settings implements IConf
{
return config.getBoolean("debug", false);
}
public boolean warnOnSmite()
{
return config.getBoolean("warn-on-smite" ,true);
}
}