summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/m_chanfilter.cpp1
-rw-r--r--src/modules/m_chanprotect.cpp3
2 files changed, 1 insertions, 3 deletions
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;
}
};