summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2004-05-01 12:44:20 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2004-05-01 12:44:20 +0000
commite8b5c0d9f9103f84384fe9b0d89301ecbf16c3e6 (patch)
tree33965dd5d57e6b011f3dbb660da95c8d31883228
parent8e475017a6f87ac936993fa9791a6634683dd512 (diff)
Added Module::OnAccessCheck
Added ListMode support Fixed Extensible class bug Added +qa mode module git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@760 e03df62e-2008-0410-955e-edbf42e46eb7
-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)) {