From f40e38f095fe9c9c65a40ec8cf675b4c2be97e18 Mon Sep 17 00:00:00 2001 From: Ryan Voots Date: Tue, 5 Oct 2010 00:42:27 -0400 Subject: [PATCH] more cleanup, it should work... --- plugins/8ball.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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