Skip to content

Commit

Permalink
LunaChat v3.0.12 : Fixed issue #203
Browse files Browse the repository at this point in the history
  • Loading branch information
ucchyocean committed Aug 29, 2020
1 parent a58830f commit 0866722
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ public boolean runCommand(
ChannelMember sender, String label, String[] args) {

int page = 1;
if ( args.length >= 2 && args[1].matches("[0-9]") ) {
if ( args.length >= 2 && args[1].matches("[0-9]+") ) {
page = Integer.parseInt(args[1]);
}

Expand Down

0 comments on commit 0866722

Please sign in to comment.