diff options
author | Evan Prodromou <evan@controlyourself.ca> | 2009-03-07 09:43:50 -0800 |
---|---|---|
committer | Evan Prodromou <evan@controlyourself.ca> | 2009-03-07 09:43:50 -0800 |
commit | 986a32223177a759b0ef071822d227011ee1b3c7 (patch) | |
tree | b9f601a991bdb6f73eafeabb40a72e2f739c5150 /lib/common.php | |
parent | 16a6aa53907de29c6d993fd18e62d45e4380f451 (diff) |
Limit duplicate notices in a particular time period (default 60s)
We disallow posting a notice with duplicate content more than once a
minute.
Conflicts:
config.php.sample
Diffstat (limited to 'lib/common.php')
-rw-r--r-- | lib/common.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/common.php b/lib/common.php index 0355d01e3..917fdeafa 100644 --- a/lib/common.php +++ b/lib/common.php @@ -85,7 +85,8 @@ $config = 'broughtbyurl' => null, 'closed' => false, 'inviteonly' => false, - 'private' => false), + 'private' => false, + 'dupelimit' => 60), # default for same person saying the same thing 'syslog' => array('appname' => 'laconica', # for syslog 'priority' => 'debug'), # XXX: currently ignored |