Inherits Module.

Public Member Functions | |
| ENone (const Anope::string &modname, const Anope::string &creator) | |
| EventReturn | OnEncrypt (const Anope::string &src, Anope::string &dest) anope_override |
| EventReturn | OnDecrypt (const Anope::string &hashm, const Anope::string &src, Anope::string &dest) anope_override |
| void | OnCheckAuthentication (User *, IdentifyRequest *req) anope_override |
Definition at line 12 of file enc_none.cpp.
| ENone::ENone | ( | const Anope::string & | modname, | |
| const Anope::string & | creator | |||
| ) | [inline] |
Definition at line 15 of file enc_none.cpp.
References ModuleManager::Attach(), I_OnCheckAuthentication, and Module::SetAuthor().
| void ENone::OnCheckAuthentication | ( | User * | u, | |
| IdentifyRequest * | req | |||
| ) | [inline, virtual] |
Check whether a username and password is correct
| u | The user trying to identify, if applicable. | |
| req | The login request |
Reimplemented from Module.
Definition at line 44 of file enc_none.cpp.
References Anope::string::begin(), Anope::Encrypt(), ENCRYPTION, Anope::string::equals_cs(), Anope::string::find(), NickAlias::Find(), ModuleManager::FindFirstOf(), NickAlias::nc, Anope::string::npos, OnEncrypt(), and NickCore::pass.
| EventReturn ENone::OnDecrypt | ( | const Anope::string & | hashm, | |
| const Anope::string & | src, | |||
| Anope::string & | dest | |||
| ) | [inline, virtual] |
Reimplemented from Module.
Definition at line 34 of file enc_none.cpp.
References Anope::B64Decode(), Anope::string::equals_cs(), EVENT_CONTINUE, and hashm.
| EventReturn ENone::OnEncrypt | ( | const Anope::string & | src, | |
| Anope::string & | dest | |||
| ) | [inline, virtual] |
Called when anope needs to check passwords against encryption see src/encrypt.c for detailed informations
Reimplemented from Module.
Definition at line 23 of file enc_none.cpp.
References Anope::B64Encode(), and LOG_DEBUG_2.
Referenced by OnCheckAuthentication().
1.7.1