summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/m_cloaking.cpp2
-rw-r--r--src/modules/m_globops.cpp2
-rw-r--r--src/modules/m_helpop.cpp2
-rw-r--r--src/modules/m_services.cpp2
-rw-r--r--src/modules/m_testcommand.cpp2
5 files changed, 5 insertions, 5 deletions
diff --git a/src/modules/m_cloaking.cpp b/src/modules/m_cloaking.cpp
index 98cbd10a4..7639b1651 100644
--- a/src/modules/m_cloaking.cpp
+++ b/src/modules/m_cloaking.cpp
@@ -59,7 +59,7 @@ class ModuleCloaking : public Module
return Version(1,0,0,1);
}
- virtual bool OnExtendedMode(userrec* user, void* target, char modechar, int type, bool mode_on, string_list &params)
+ virtual int OnExtendedMode(userrec* user, void* target, char modechar, int type, bool mode_on, string_list &params)
{
// this method is called for any extended mode character.
// all module modes for all modules pass through here
diff --git a/src/modules/m_globops.cpp b/src/modules/m_globops.cpp
index fc8cebaa7..a6d0812fe 100644
--- a/src/modules/m_globops.cpp
+++ b/src/modules/m_globops.cpp
@@ -47,7 +47,7 @@ class ModuleGlobops : public Module
return Version(1,0,0,1);
}
- virtual bool OnExtendedMode(userrec* user, void* target, char modechar, int type, bool mode_on, string_list &params)
+ virtual int OnExtendedMode(userrec* user, void* target, char modechar, int type, bool mode_on, string_list &params)
{
// check if this is our mode character...
if ((modechar == 'g') && (type == MT_CLIENT))
diff --git a/src/modules/m_helpop.cpp b/src/modules/m_helpop.cpp
index 09c8eb636..d6ebb6f92 100644
--- a/src/modules/m_helpop.cpp
+++ b/src/modules/m_helpop.cpp
@@ -157,7 +157,7 @@ class ModuleHelpop : public Module
}
- virtual bool OnExtendedMode(userrec* user, void* target, char modechar, int type, bool mode_on, string_list &params)
+ virtual int OnExtendedMode(userrec* user, void* target, char modechar, int type, bool mode_on, string_list &params)
{
if ((modechar == 'h') && (type == MT_CLIENT))
{
diff --git a/src/modules/m_services.cpp b/src/modules/m_services.cpp
index e44b08bc1..39cd55d6b 100644
--- a/src/modules/m_services.cpp
+++ b/src/modules/m_services.cpp
@@ -22,7 +22,7 @@ class ModuleServices : public Module
Srv->AddExtendedMode('r',MT_CLIENT,false,0,0);
}
- virtual bool OnExtendedMode(userrec* user, void* target, char modechar, int type, bool mode_on, string_list &params)
+ virtual int OnExtendedMode(userrec* user, void* target, char modechar, int type, bool mode_on, string_list &params)
{
if (modechar != 'r') {
diff --git a/src/modules/m_testcommand.cpp b/src/modules/m_testcommand.cpp
index b464a2737..942f1553c 100644
--- a/src/modules/m_testcommand.cpp
+++ b/src/modules/m_testcommand.cpp
@@ -46,7 +46,7 @@ class ModuleTestCommand : public Module
Srv->AddExtendedMode('Z',MT_CHANNEL,false,1,0);
}
- virtual bool OnExtendedMode(userrec* user, void* target, char modechar, int type, bool mode_on, string_list &params)
+ virtual int OnExtendedMode(userrec* user, void* target, char modechar, int type, bool mode_on, string_list &params)
{
if ((modechar != 'Z') || (type != MT_CHANNEL)) {