From 8e34d66ef3bef802e5758ad73ff29e1b75aaba7f Mon Sep 17 00:00:00 2001 From: danieldg Date: Tue, 2 Feb 2010 15:02:33 +0000 Subject: Add OnSetConnectClass hook for use in adding requirements to connect classes (such as requiressl) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12352 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 9186e38be..558923332 100644 --- a/src/modules.cpp +++ b/src/modules.cpp @@ -155,6 +155,7 @@ ModResult Module::OnUserList(User*, Channel*) { return MOD_RES_PASSTHRU; } ModResult Module::OnWhoisLine(User*, User*, int&, std::string&) { return MOD_RES_PASSTHRU; } void Module::OnBuildNeighborList(User*, UserChanList&, std::map&) { } void Module::OnGarbageCollect() { } +ModResult Module::OnSetConnectClass(LocalUser* user, ConnectClass* myclass) { return MOD_RES_PASSTHRU; } void Module::OnText(User*, void*, int, const std::string&, char, CUList&) { } void Module::OnRunTestSuite() { } void Module::OnNamesListItem(User*, Membership*, std::string&, std::string&) { } -- cgit v1.2.3