Skip to content

Commit

Permalink
Actual update to 3.0.4 B:23
Browse files Browse the repository at this point in the history
Fixes an NPE resulting from temp bans and sql.
  • Loading branch information
Fishrock123 committed Sep 5, 2012
1 parent 5f60d31 commit 536324a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/plugin.yml → plugin.yml
@@ -1,6 +1,6 @@
name: EasyBan
main: uk.org.whoami.easyban.EasyBan
version: 3.0.3 B:22
version: 3.0.4 B:23
description: 'Ban people/subnets/countries from "offline" Servers'
authors:
- whoami
Expand Down
8 changes: 4 additions & 4 deletions src/uk/org/whoami/easyban/datasource/SQLDataSource.java
Expand Up @@ -578,11 +578,11 @@ public synchronized HashMap<String, Long> getTempBans() {
}
}
}
if (map.isEmpty()) {
return null;
} else {
// if (map.isEmpty()) {
// return null;
// } else {
return map;
}
// }
}

@Override
Expand Down

0 comments on commit 536324a

Please sign in to comment.