summaryrefslogtreecommitdiff
path: root/src/modules/m_chanprotect.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-11-30 22:13:47 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-11-30 22:13:47 +0000
commit1424c78e7e1449854f8330b45705c114619fb855 (patch)
treea44a74199141ecc4d7bd79d562d178691c54f8e7 /src/modules/m_chanprotect.cpp
parentefda5071934b078dd939a53cde317e60a11ba401 (diff)
Removed old OnUserSync and OnChannelSync
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2071 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_chanprotect.cpp')
-rw-r--r--src/modules/m_chanprotect.cpp3
1 files changed, 1 insertions, 2 deletions
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;
}
};