Imported from archive.
authorJeremy Stanley <fungi@yuggoth.org>
Sat, 30 Jul 2005 17:04:00 +0000 (17:04 +0000)
committerJeremy Stanley <fungi@yuggoth.org>
Sat, 30 Jul 2005 17:04:00 +0000 (17:04 +0000)
* lib/muff/muffcmds.py (command_quit): Replaced with a disconnecting
state.
(handle_user_input): Reorganized the user state handlers.
(handler_entering_account_name): Fixed a race condition where empty
accounts would be created even if the user never got around to
entering a password before disconnecting.

* lib/muff/muffmisc.py (log): New function to abstract logging of
arbitrary information, for later flexibility.
(random_name, weighted_choice): Added a random name generator
function for later use.


No differences found