diff options
Diffstat (limited to 'src/modules/m_oper_hash.cpp')
-rw-r--r-- | src/modules/m_oper_hash.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/m_oper_hash.cpp b/src/modules/m_oper_hash.cpp index 66fa1e61e..cc2afbe54 100644 --- a/src/modules/m_oper_hash.cpp +++ b/src/modules/m_oper_hash.cpp @@ -34,7 +34,7 @@ class cmd_mkpasswd : public Command syntax = "<hashtype> <any-text>"; } - void MakeHash(userrec* user, const char* algo, const char* stuff) + void MakeHash(User* user, const char* algo, const char* stuff) { /* Lets see if they gave us an algorithm which has been implemented */ hashymodules::iterator x = hashers.find(algo); @@ -52,7 +52,7 @@ class cmd_mkpasswd : public Command } } - CmdResult Handle (const char** parameters, int pcnt, userrec *user) + CmdResult Handle (const char** parameters, int pcnt, User *user) { MakeHash(user, parameters[0], parameters[1]); /* NOTE: Don't propagate this across the network! @@ -120,7 +120,7 @@ class ModuleOperHash : public Module List[I_OnRehash] = List[I_OnOperCompare] = 1; } - virtual void OnRehash(userrec* user, const std::string ¶meter) + virtual void OnRehash(User* user, const std::string ¶meter) { /* Re-read configuration file */ if (Conf) |