For non-logged-in web users, hide over18 links in under18 subreddits #479

Closed
wants to merge 1 commit into
from
Jump to file
+1 −1
Split
View
@@ -378,7 +378,7 @@ def POST_submit(self, form, jquery, url, selftext, kind, title,
sendreplies = kind == 'self'
# well, nothing left to do but submit it
- l = Link._submit(request.post.title, url if kind == 'link' else 'self',
+ l = Link._submit(spaceCompress(request.post.title), url if kind == 'link' else 'self',
c.user, sr, ip, spam=c.user._spam, sendreplies=sendreplies)
if banmsg: