mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-01-26 23:39:11 -05:00
Allow spammy users to submit again
This commit is contained in:
@@ -118,11 +118,13 @@ class Link(Thing, Printable):
|
||||
|
||||
@classmethod
|
||||
def _submit(cls, title, url, author, sr, ip):
|
||||
from r2.models import admintools
|
||||
|
||||
l = cls(title = title,
|
||||
url = url,
|
||||
_spam = author._spam,
|
||||
author_id = author._id,
|
||||
sr_id = sr._id,
|
||||
sr_id = sr._id,
|
||||
lang = sr.lang,
|
||||
ip = ip)
|
||||
l._commit()
|
||||
|
||||
Reference in New Issue
Block a user