summaryrefslogtreecommitdiff
path: root/src/modules/m_operlevels.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_operlevels.cpp')
-rw-r--r--src/modules/m_operlevels.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_operlevels.cpp b/src/modules/m_operlevels.cpp
index 4c4047caa..c7fa0a642 100644
--- a/src/modules/m_operlevels.cpp
+++ b/src/modules/m_operlevels.cpp
@@ -45,7 +45,7 @@ class ModuleOperLevels : public Module
List[I_OnRehash] = List[I_OnKill] = 1;
}
- virtual void OnRehash(userrec* user, const std::string &parameter)
+ virtual void OnRehash(User* user, const std::string &parameter)
{
DELETE(conf);
conf = new ConfigReader(ServerInstance);
@@ -56,7 +56,7 @@ class ModuleOperLevels : public Module
return Version(1,1,0,1,VF_VENDOR,API_VERSION);
}
- virtual int OnKill(userrec* source, userrec* dest, const std::string &reason)
+ virtual int OnKill(User* source, User* dest, const std::string &reason)
{
long dest_level = 0,source_level = 0;