From 343f12b9b2d4e519b09877f76a00f6a0714509f2 Mon Sep 17 00:00:00 2001 From: brain Date: Mon, 24 Mar 2008 15:13:17 +0000 Subject: Add stuff so that modules can hook users by altering a pointer in the User class. Note that ssl modules still bind by port, but the idea of doing this change is so we can remove that logic next git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9187 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/modules.cpp') diff --git a/src/modules.cpp b/src/modules.cpp index 6a870361b..82dbea185 100644 --- a/src/modules.cpp +++ b/src/modules.cpp @@ -195,6 +195,7 @@ void Module::OnText(User*, void*, int, const std::string&, char, CUList&) { } void Module::OnRunTestSuite() { } void Module::OnNamesListItem(User*, User*, Channel*, std::string&, std::string&) { } int Module::OnNumeric(User*, unsigned int, const std::string&) { return 0; } +void Module::OnHookUserIO(User*) { } ModuleManager::ModuleManager(InspIRCd* Ins) : ModCount(0), Instance(Ins) { -- cgit v1.3.1-10-gc9f91