Skip to content

Commit

Permalink
Simplified greylist DB interface by creating a proper DAO
Browse files Browse the repository at this point in the history
Removed setPlayerName from PlayerGreylistedEvent
Addresses #92
  • Loading branch information
nristock committed Jun 9, 2013
2 parents a892fd7 + 8ca997b commit d36228a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<groupId>com.thevoxelbox</groupId>
<artifactId>VoxelGuest</artifactId>
<version>5.0.0-SNAPSHOT</version>
<version>5.0.2-SNAPSHOT</version>
<packaging>jar</packaging>
<name>VoxelGuest</name>
<url>http://voxelwiki.com/minecraft/VoxelGuest</url>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,30 +49,30 @@ public boolean onCommand(final CommandSender sender, final Command command, fina
{
importVG3Bans(sender);
importVG4Bans(sender);
sender.sendMessage(ChatColor.GRAY + "Banlist import done!");
sender.sendMessage(ChatColor.GRAY + "Banlist import done.");
}

if (arguments.isImportAfmMessages())
{
if (this.importAfkMessages(sender))
{
sender.sendMessage(ChatColor.GRAY + "Afk message import completed!");
sender.sendMessage(ChatColor.GRAY + "Afk message import completed.");
}
else
{
sender.sendMessage(ChatColor.RED + "Afk message import failed!");
sender.sendMessage(ChatColor.RED + "Afk message import failed.");
}
}

if (arguments.isImportGreylist())
{
if (this.importGreylist(sender))
{
sender.sendMessage(ChatColor.GRAY + "greylist import completed!");
sender.sendMessage(ChatColor.GRAY + "greylist import completed.");
}
else
{
sender.sendMessage(ChatColor.RED + "greylist import failed!");
sender.sendMessage(ChatColor.RED + "greylist import failed.");
}
}

Expand Down

0 comments on commit d36228a

Please sign in to comment.