Fix spelling of VMessageRecipient class

This commit is contained in:
Keith Mitchell
2011-07-06 11:51:49 -07:00
parent b2c0a12140
commit 3fb84ad3ef
2 changed files with 2 additions and 2 deletions

View File

@@ -176,7 +176,7 @@ class ApiController(RedditController):
VUser(),
VModhash(),
ip = ValidIP(),
to = VMessageRecipent('to'),
to = VMessageRecipient('to'),
subject = VRequired('subject', errors.NO_SUBJECT),
body = VMarkdown(['text', 'message']))
def POST_compose(self, form, jquery, to, subject, body, ip):

View File

@@ -895,7 +895,7 @@ class VExistingUname(VRequired):
return self.error(errors.USER_DOESNT_EXIST)
self.error()
class VMessageRecipent(VExistingUname):
class VMessageRecipient(VExistingUname):
def run(self, name):
if not name:
return self.error()