Forgot to convert back to the one-name system.

This commit is contained in:
Jeremy Fincher 2003-09-13 22:22:41 +00:00
parent 36163997d2
commit 7be6ce500f

View File

@ -229,7 +229,7 @@ if __name__ == '__main__':
password = something('What should the owner\'s password be?') password = something('What should the owner\'s password be?')
(id, user) = ircdb.users.newUser() (id, user) = ircdb.users.newUser()
user.setPassword(password) user.setPassword(password)
user.names.add(owner) user.name = owner
user.addCapability('owner') user.addCapability('owner')
while yn('Would you like to add a hostmask for the owner?') == 'y': while yn('Would you like to add a hostmask for the owner?') == 'y':
user.addHostmask(something('What hostmask?')) user.addHostmask(something('What hostmask?'))