diff --git a/plugins/8ball.pm b/plugins/8ball.pm index fe7d4da..61a8f4a 100644 --- a/plugins/8ball.pm +++ b/plugins/8ball.pm @@ -37,7 +37,7 @@ sub { } else { - @a = split(/(?:\bor\b|\s*,\s*)/, $said->{body}); + @a = split(/(?:\bor\b|\s*,\s*)+/, $said->{body}); } s/^\s*//, s/\s*(\?\s*)?$// for @a; #trim them up