Fix typos
This commit is contained in:
parent
016b33b666
commit
8707f9292f
1 changed files with 4 additions and 4 deletions
|
@ -318,7 +318,7 @@ class Session():
|
|||
newsgroup_message,
|
||||
message
|
||||
where
|
||||
message.id = newsgroup_message.id
|
||||
message.id = newsgroup_message.message_id
|
||||
and newsgroup_message.newsgroup_id = ?
|
||||
"""
|
||||
|
||||
|
@ -550,7 +550,7 @@ class Session():
|
|||
newsgroup_message,
|
||||
message
|
||||
where
|
||||
message.id = newsgroup_message.id
|
||||
message.id = newsgroup_message.message_id
|
||||
and newsgroup_message.newsgroup_id = ?
|
||||
"""
|
||||
|
||||
|
@ -742,7 +742,7 @@ class Session():
|
|||
|
||||
def _cmd_post(self):
|
||||
if not self.perms & UserPermission.POST:
|
||||
self.respond(ResponseCode.NNTP_POST_PROHIBITED
|
||||
self.respond(ResponseCode.NNTP_POST_PROHIBITED)
|
||||
|
||||
self.respond(ResponseCode.NNTP_INQUIRY_ARTICLE)
|
||||
|
||||
|
@ -769,7 +769,7 @@ class Session():
|
|||
|
||||
def _cmd_ihave(self, message_id):
|
||||
if not self.perms & UserPermission.POST:
|
||||
self.respond(ResponseCode.NNTP_POST_PROHIBITED
|
||||
self.respond(ResponseCode.NNTP_POST_PROHIBITED)
|
||||
|
||||
sql = """
|
||||
select
|
||||
|
|
Loading…
Add table
Reference in a new issue