mirror of
https://github.com/flarum/core.git
synced 2025-10-18 18:26:07 +02:00
fixed several column changes found by tests
This commit is contained in:
@@ -50,6 +50,6 @@ class Floodgate
|
||||
new CheckingForFlooding($actor)
|
||||
);
|
||||
|
||||
return $isFlooding ?? Post::where('user_id', $actor->id)->where('time', '>=', new DateTime('-10 seconds'))->exists();
|
||||
return $isFlooding ?? Post::where('user_id', $actor->id)->where('created_at', '>=', new DateTime('-10 seconds'))->exists();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user