aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/m_permchannels.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_permchannels.cpp')
-rw-r--r--src/modules/m_permchannels.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_permchannels.cpp b/src/modules/m_permchannels.cpp
index ecd653d5e..3cb35e514 100644
--- a/src/modules/m_permchannels.cpp
+++ b/src/modules/m_permchannels.cpp
@@ -61,7 +61,7 @@ public:
// Not in a class due to circular dependency hell.
static std::string permchannelsconf;
-static bool WriteDatabase(PermChannel& permchanmode, Module* mod, bool save_listmodes)
+static bool WriteDatabase(PermChannel& permchanmode, bool save_listmodes)
{
/*
* We need to perform an atomic write so as not to fuck things up.
@@ -283,7 +283,7 @@ public:
bool Tick() override
{
if (dirty)
- WriteDatabase(p, this, save_listmodes);
+ WriteDatabase(p, save_listmodes);
dirty = false;
return true;
}