BG 63
This commit is contained in:
parent
4eb9dc7d6a
commit
42d5fedd7b
@ -168,7 +168,7 @@ def privateMsg(connection, pseudo, msg):
|
||||
else:
|
||||
pm = (connection, c)
|
||||
pmr = (c,connection)
|
||||
if pm not in validatePM or pmr not in validatePM:
|
||||
if pm not in validatePM and pmr not in validatePM:
|
||||
connection.sendall("ERR_NOT_ACCEPTED".encode())
|
||||
else:
|
||||
c.sendall("NEW_PM {} {}".format(pseudo, msg).encode())
|
||||
|
Reference in New Issue
Block a user