summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/m_operflood.cpp2
-rw-r--r--src/modules/m_operjoin.cpp2
-rw-r--r--src/modules/m_opermodes.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/m_operflood.cpp b/src/modules/m_operflood.cpp
index 807472b19..1b704cc22 100644
--- a/src/modules/m_operflood.cpp
+++ b/src/modules/m_operflood.cpp
@@ -28,7 +28,7 @@ public:
return Version(1,1,0,1,VF_VENDOR,API_VERSION);
}
- void OnPostOper(User* user, const std::string &opertype)
+ void OnPostOper(User* user, const std::string &opertype, const std::string &opername)
{
if(!IS_LOCAL(user))
return;
diff --git a/src/modules/m_operjoin.cpp b/src/modules/m_operjoin.cpp
index c8b4b1eaa..e9379e943 100644
--- a/src/modules/m_operjoin.cpp
+++ b/src/modules/m_operjoin.cpp
@@ -70,7 +70,7 @@ class ModuleOperjoin : public Module
return Version(1,1,0,1,VF_VENDOR,API_VERSION);
}
- virtual void OnPostOper(User* user, const std::string &opertype)
+ virtual void OnPostOper(User* user, const std::string &opertype, const std::string &opername)
{
if (!IS_LOCAL(user))
return;
diff --git a/src/modules/m_opermodes.cpp b/src/modules/m_opermodes.cpp
index d46aaef21..6389b029d 100644
--- a/src/modules/m_opermodes.cpp
+++ b/src/modules/m_opermodes.cpp
@@ -49,7 +49,7 @@ class ModuleModesOnOper : public Module
return Version(1,1,0,1,VF_VENDOR,API_VERSION);
}
- virtual void OnPostOper(User* user, const std::string &opertype)
+ virtual void OnPostOper(User* user, const std::string &opertype, const std::string &opername)
{
// whenever a user opers, go through the oper types, find their <type:modes>,
// and if they have one apply their modes. The mode string can contain +modes