summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/modules/m_blockcolor.cpp1
-rw-r--r--src/modules/m_httpd_acl.cpp1
-rw-r--r--src/modules/m_spanningtree/main.cpp2
-rw-r--r--src/modules/m_spanningtree/protocolinterface.h3
-rw-r--r--src/modules/m_stripcolor.cpp1
5 files changed, 2 insertions, 6 deletions
diff --git a/src/modules/m_blockcolor.cpp b/src/modules/m_blockcolor.cpp
index d25582850..3cc01b4c0 100644
--- a/src/modules/m_blockcolor.cpp
+++ b/src/modules/m_blockcolor.cpp
@@ -35,7 +35,6 @@ class BlockColor : public SimpleChannelModeHandler
class ModuleBlockColor : public Module
{
- bool AllowChanOps;
BlockColor bc;
public:
diff --git a/src/modules/m_httpd_acl.cpp b/src/modules/m_httpd_acl.cpp
index ba8d14063..2694402bd 100644
--- a/src/modules/m_httpd_acl.cpp
+++ b/src/modules/m_httpd_acl.cpp
@@ -45,7 +45,6 @@ class ModuleHTTPAccessList : public Module
{
std::string stylesheet;
- bool changed;
std::vector<HTTPACL> acl_list;
public:
diff --git a/src/modules/m_spanningtree/main.cpp b/src/modules/m_spanningtree/main.cpp
index ffc466a82..e7892526e 100644
--- a/src/modules/m_spanningtree/main.cpp
+++ b/src/modules/m_spanningtree/main.cpp
@@ -83,7 +83,7 @@ void ModuleSpanningTree::init()
ServerInstance->Modules->Attach(eventlist, this, sizeof(eventlist)/sizeof(Implementation));
delete ServerInstance->PI;
- ServerInstance->PI = new SpanningTreeProtocolInterface(this, Utils);
+ ServerInstance->PI = new SpanningTreeProtocolInterface(Utils);
loopCall = false;
// update our local user count
diff --git a/src/modules/m_spanningtree/protocolinterface.h b/src/modules/m_spanningtree/protocolinterface.h
index 234b7bbf6..297366893 100644
--- a/src/modules/m_spanningtree/protocolinterface.h
+++ b/src/modules/m_spanningtree/protocolinterface.h
@@ -26,10 +26,9 @@ class ModuleSpanningTree;
class SpanningTreeProtocolInterface : public ProtocolInterface
{
SpanningTreeUtilities* Utils;
- ModuleSpanningTree* Module;
void SendChannel(Channel* target, char status, const std::string &text);
public:
- SpanningTreeProtocolInterface(ModuleSpanningTree* mod, SpanningTreeUtilities* util) : Utils(util), Module(mod) { }
+ SpanningTreeProtocolInterface(SpanningTreeUtilities* util) : Utils(util) { }
virtual ~SpanningTreeProtocolInterface() { }
virtual bool SendEncapsulatedData(const parameterlist &encap);
diff --git a/src/modules/m_stripcolor.cpp b/src/modules/m_stripcolor.cpp
index 83ff1a5f3..f1504edaf 100644
--- a/src/modules/m_stripcolor.cpp
+++ b/src/modules/m_stripcolor.cpp
@@ -42,7 +42,6 @@ class UserStripColor : public SimpleUserModeHandler
class ModuleStripColor : public Module
{
- bool AllowChanOps;
ChannelStripColor csc;
UserStripColor usc;