198 ) |
198 ) |
199 Preferences.syncPreferences() |
199 Preferences.syncPreferences() |
200 if bannedName in Preferences.getCooperation("BannedUsers"): |
200 if bannedName in Preferences.getCooperation("BannedUsers"): |
201 self.rejected.emit(self.trUtf8( |
201 self.rejected.emit(self.trUtf8( |
202 "* Connection attempted by banned user '{0}'.") |
202 "* Connection attempted by banned user '{0}'.") |
203 .format(bannedName)) |
203 .format(bannedName)) |
204 self.abort() |
204 self.abort() |
205 return |
205 return |
206 |
206 |
207 if self.__serverPort != self.peerPort() and \ |
207 if self.__serverPort != self.peerPort() and \ |
208 not Preferences.getCooperation("AutoAcceptConnections"): |
208 not Preferences.getCooperation("AutoAcceptConnections"): |