mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-23 19:22:45 +01:00
Convert channel capabilities, too!
This commit is contained in:
parent
1663642227
commit
a15b87cd1a
@ -41,6 +41,11 @@ if __name__ == '__main__':
|
||||
write(fd, ' hashed %s' % u.hashed)
|
||||
write(fd, ' password %s' % u.password)
|
||||
for capability in u.capabilities:
|
||||
try:
|
||||
(channel, capability) = rsplit(capability, '.', 1)
|
||||
capability = ','.join(channel, capability)
|
||||
except ValueError:
|
||||
pass
|
||||
write(fd, ' capability %s' % capability)
|
||||
for hostmask in u.hostmasks:
|
||||
write(fd, ' hostmask %s' % hostmask)
|
||||
|
Loading…
Reference in New Issue
Block a user