diff options
| author | Jules Laplace <jules@okfoc.us> | 2012-12-29 23:40:50 -0500 |
|---|---|---|
| committer | Jules Laplace <jules@okfoc.us> | 2012-12-29 23:40:50 -0500 |
| commit | e9de5742555c81221a4939bc1decf175416a26e0 (patch) | |
| tree | ea1a634a921147238e13cd59dfa3ae920603d058 /src | |
| parent | 00404603de74e15ba916898d1f3d9f8cda8400ad (diff) | |
GOT IT
Diffstat (limited to 'src')
| -rw-r--r-- | src/site.clj | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/site.clj b/src/site.clj index a114cf4..f38c67b 100644 --- a/src/site.clj +++ b/src/site.clj @@ -295,7 +295,7 @@ WHERE user_id IN ; this should check if the user was created in the last day i guess (defn ip-recently-created? [ip] - (> (count (do-select ["select count(*) from users where created_ip=?::cidr" (str ip)] )) 1)) + (> (count (do-select ["select * from users where created_ip=?::cidr" (str ip)] )) 1)) (def *reserved-nicks-path* "docs/reserved_nicks.txt") (def *reserved-nicks-refresh-period-sec* 300) |
