diff options
Diffstat (limited to 'data/rbot/plugins/points.rb')
-rw-r--r-- | data/rbot/plugins/points.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/data/rbot/plugins/points.rb b/data/rbot/plugins/points.rb index 976594ee..2f67092f 100644 --- a/data/rbot/plugins/points.rb +++ b/data/rbot/plugins/points.rb @@ -85,6 +85,9 @@ class PointsPlugin < Plugin token = $1 # strip ++/-- from token flag = $2 # remember ++/-- + # token must not have more than one ++/-- + next if token.match(/(\+\+|--)/) + # each token must include at least one alphanumerical character next unless token.match /[[:alnum:]]/ |