mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-23 11:12:47 +01:00
We have to add a non-banmask hostmask to match against. banmask hostmask is
too general.
This commit is contained in:
parent
09c81c6d24
commit
20ebbc15d5
@ -359,6 +359,7 @@ class UsersDictionaryTestCase(IrcdbTestCase):
|
||||
hostmask = 'foo!xyzzy@baz.domain.com'
|
||||
banmask = ircutils.banmask(hostmask)
|
||||
u.addHostmask(banmask)
|
||||
u.addHostmask(hostmask)
|
||||
u.name = 'foo'
|
||||
self.users.setUser(id, u)
|
||||
self.assertEqual(self.users.getUser('foo'), u)
|
||||
|
Loading…
Reference in New Issue
Block a user