diff options
author | QCyph <dev@lived.nl> | 2011-08-24 16:03:19 +0200 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2011-08-24 16:13:22 +0200 |
commit | a68cf07e755ecc74a2233d354d4beed7a62c8a76 (patch) | |
tree | 1115ba6a0d73c54c75b2682570cfa69a4e123b75 /lib | |
parent | e5f47754144b20ccd830566e534013546670fc3b (diff) |
Handler/Discussions.pm: thread creation limit lowered to 5
Diffstat (limited to 'lib')
-rw-r--r-- | lib/VNDB/Handler/Discussions.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VNDB/Handler/Discussions.pm b/lib/VNDB/Handler/Discussions.pm index 673597ba..f2b0d4a5 100644 --- a/lib/VNDB/Handler/Discussions.pm +++ b/lib/VNDB/Handler/Discussions.pm @@ -181,7 +181,7 @@ sub edit { # Don't allow regular users to create more than 10 threads a day push @{$frm->{_err}}, 'threadthrottle' if !$tid && !$self->authCan('boardmod') && - @{$self->dbPostGet(uid => $self->authInfo->{id}, mindate => time - 24*3600, num => 1)} >= 10; + @{$self->dbPostGet(uid => $self->authInfo->{id}, mindate => time - 24*3600, num => 1)} >= 5; # parse and validate the boards my @boards; |