mirror of
https://github.com/progval/irctest.git
synced 2025-04-06 07:19:54 +00:00
enable strict nickname reservation
This commit is contained in:
@ -56,6 +56,11 @@ BASE_CONFIG = {
|
|||||||
'enabled-callbacks': ['none'],
|
'enabled-callbacks': ['none'],
|
||||||
'verify-timeout': '120h',
|
'verify-timeout': '120h',
|
||||||
},
|
},
|
||||||
|
'nick-reservation': {
|
||||||
|
'enabled': True,
|
||||||
|
'additional-nick-limit': 2,
|
||||||
|
'method': 'strict',
|
||||||
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
"channels": {
|
"channels": {
|
||||||
|
@ -12,9 +12,8 @@ class Bouncer(cases.BaseServerTestCase):
|
|||||||
self.controller.registerUser(self, 'observer', 'observerpassword')
|
self.controller.registerUser(self, 'observer', 'observerpassword')
|
||||||
self.controller.registerUser(self, 'testuser', 'mypassword')
|
self.controller.registerUser(self, 'testuser', 'mypassword')
|
||||||
|
|
||||||
self.connectClient('observer')
|
self.connectClient('observer', password='observerpassword')
|
||||||
self.joinChannel(1, '#chan')
|
self.joinChannel(1, '#chan')
|
||||||
self.sendLine(1, 'NICKSERV IDENTIFY observer observerpassword')
|
|
||||||
self.sendLine(1, 'CAP REQ :message-tags server-time')
|
self.sendLine(1, 'CAP REQ :message-tags server-time')
|
||||||
self.getMessages(1)
|
self.getMessages(1)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user