]> git.netwichtig.de Git - user/henk/code/inspircd.git/commit
Clean up m_password_hash slightly.
authorPeter Powell <petpow@saberuk.com>
Sun, 3 Dec 2017 21:55:01 +0000 (21:55 +0000)
committerPeter Powell <petpow@saberuk.com>
Sun, 3 Dec 2017 22:20:10 +0000 (22:20 +0000)
commit81869b134daf1fe9e78fa84bc605b25c74863cac
treef8adc5a23305d47e326322228611b69c0fdcd596
parent6cfa00e862ed9615438c0a1c6faef12f228e46ef
Clean up m_password_hash slightly.

- Get rid of MakeHash and inline the logic into the actual handler.
- Return CMD_FAILURE when password hashing fails for some reason.
- Change the module name and description to be more accurate.
src/modules/m_password_hash.cpp