From ae2cfb1668ce35f3d489c824b6521c07fa91a12c Mon Sep 17 00:00:00 2001 From: David Phillips Date: Thu, 15 Nov 2018 23:57:14 +1300 Subject: Add FIXMEs, remove unnecessary threads inclusion --- Plugin/Natural.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Plugin/Natural.pm') diff --git a/Plugin/Natural.pm b/Plugin/Natural.pm index adc044c..56615e4 100644 --- a/Plugin/Natural.pm +++ b/Plugin/Natural.pm @@ -2,7 +2,6 @@ package Plugin::Natural; use strict; use warnings; -use threads; my $root_config; @@ -16,14 +15,17 @@ sub configure { return $self; } +# FIXME make configurable sub mention_odds { return int(rand(10)) < 9; } +# FIXME make configurable sub normal_odds { return int(rand(10)) < 6; } +# FIXME factor out with other modules sub some { my @choices = @_; return $choices[rand(@choices)]; -- cgit v1.1