From 1424c78e7e1449854f8330b45705c114619fb855 Mon Sep 17 00:00:00 2001 From: brain Date: Wed, 30 Nov 2005 22:13:47 +0000 Subject: Removed old OnUserSync and OnChannelSync git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2071 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules.cpp | 2 -- src/modules/m_chanfilter.cpp | 1 - src/modules/m_chanprotect.cpp | 3 +-- 3 files changed, 1 insertion(+), 5 deletions(-) (limited to 'src') diff --git a/src/modules.cpp b/src/modules.cpp index 8a5fa052a..2dda2daf5 100644 --- a/src/modules.cpp +++ b/src/modules.cpp @@ -327,8 +327,6 @@ int Module::OnUserPreNotice(userrec* user,void* dest,int target_type, std::stri int Module::OnUserPreNick(userrec* user, std::string newnick) { return 0; }; void Module::OnUserPostNick(userrec* user, std::string oldnick) { }; int Module::OnAccessCheck(userrec* source,userrec* dest,chanrec* channel,int access_type) { return ACR_DEFAULT; }; -string_list Module::OnUserSync(userrec* user) { string_list empty; return empty; } -string_list Module::OnChannelSync(chanrec* chan) { string_list empty; return empty; } void Module::On005Numeric(std::string &output) { }; int Module::OnKill(userrec* source, userrec* dest, std::string reason) { return 0; }; void Module::OnLoadModule(Module* mod,std::string name) { }; diff --git a/src/modules/m_chanfilter.cpp b/src/modules/m_chanfilter.cpp index 3db636b35..5b36478b2 100644 --- a/src/modules/m_chanfilter.cpp +++ b/src/modules/m_chanfilter.cpp @@ -219,7 +219,6 @@ class ModuleChanFilter : public Module proto->ProtoSendMode(opaque,TYPE_CHANNEL,chan,"+g "+*i); } } - return commands; } }; diff --git a/src/modules/m_chanprotect.cpp b/src/modules/m_chanprotect.cpp index 325a50a13..a9764f72e 100644 --- a/src/modules/m_chanprotect.cpp +++ b/src/modules/m_chanprotect.cpp @@ -335,7 +335,7 @@ class ModuleChanProtect : public Module return Version(1,0,0,0,VF_STATIC|VF_VENDOR); } - virtual void OnChannelSync(chanrec* chan, Module* proto, void* opaque) + virtual void OnSyncChannel(chanrec* chan, Module* proto, void* opaque) { // this is called when the server is linking into a net and wants to sync channel data. // we should send our mode changes for the channel here to ensure that other servers @@ -353,7 +353,6 @@ class ModuleChanProtect : public Module proto->ProtoSendMode(opaque,TYPE_CHANNEL,chan,"+a "+std::string(cl[i]->nick)); } } - return commands; } }; -- cgit v1.2.3