summaryrefslogtreecommitdiff
path: root/src/modules.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-12-26 17:57:24 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-12-26 17:57:24 +0000
commitbd59b1a9a283c09b318bd3a6cb93774d5961b794 (patch)
treea6a24a33ef748ec2c0e080acb51f961e9e4a81f0 /src/modules.cpp
parenta9b90ecb4329498aba52da6aaa9812e3a70b8e11 (diff)
Fixed support for implementation hooks
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2654 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules.cpp')
-rw-r--r--src/modules.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules.cpp b/src/modules.cpp
index 01aef0802..cb9a228a2 100644
--- a/src/modules.cpp
+++ b/src/modules.cpp
@@ -296,7 +296,7 @@ void Module::OnDelKLine(userrec* source, std::string hostmask) { };
void Module::OnDelQLine(userrec* source, std::string nickmask) { };
void Module::OnDelELine(userrec* source, std::string hostmask) { };
void Module::OnCleanup(int target_type, void* item) { };
-void Module::Implements(bool &Implements[255]) { for (int j = 0; j < 255; j++) Implements[j] = false; };
+void Module::Implements(char* Implements) { for (int j = 0; j < 255; j++) Implements[j] = 0; };
/* server is a wrapper class that provides methods to all of the C-style
* exports in the core