summaryrefslogtreecommitdiff
path: root/src/site.clj
diff options
context:
space:
mode:
Diffstat (limited to 'src/site.clj')
-rw-r--r--src/site.clj6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/site.clj b/src/site.clj
index 66e880e..67bb007 100644
--- a/src/site.clj
+++ b/src/site.clj
@@ -305,7 +305,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 * from users where created_ip=?::cidr" (str ip)] )) 10))
+ (> (count (do-select ["select * from users where created_ip=?::cidr" (str ip)] )) 15))
(def *reserved-nicks-path* "docs/reserved_nicks.txt")
(def *reserved-nicks-refresh-period-sec* 300)
@@ -1196,6 +1196,9 @@ WHERE user_id IN
(GET "/images/*" (serve-static *image-directory* (params :*)))
(GET "/avatars/*" (serve-static *avatar-directory* (params :*)))
;; irl
+ (GET "/soccer/*" (redirect-to "/"))
+ (GET "/soccer/" (redirect-to "/"))
+ (GET "/soccer" (redirect-to "/"))
(GET "/irl" (redirect-to "/irl/"))
(GET "/irl/" (serve-static "static/319" "index.html"))
(GET "/irl/*" (serve-static "static/319" (params :*)))
@@ -1299,6 +1302,7 @@ WHERE user_id IN
(GET "/debug" (debug-page session flash))
(POST "/debug" (debug-commmand! session params))
(GET "/mutes" (show-mutes session params))
+ (GET "/users/lastlog" (show-lastlog session params))
(GET "/users" (show-users session params))
(GET "/roomlist" (show-rooms session))
(POST "/mute" (mute! session params))