From e4119e33f481f792980f937e2e1c9f70de5bd05f Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Wed, 12 Oct 2022 14:26:09 +0100 Subject: Remove some unused method arguments. --- src/modules/m_permchannels.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/modules/m_permchannels.cpp') 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; } -- cgit v1.3.1-10-gc9f91