diff options
| author | 2022-10-12 14:26:09 +0100 | |
|---|---|---|
| committer | 2022-10-12 14:26:09 +0100 | |
| commit | e4119e33f481f792980f937e2e1c9f70de5bd05f (patch) | |
| tree | b50dd87a42853472eb9d324e43f92be7ef6f9f77 /src/modules/m_permchannels.cpp | |
| parent | Avoid file_cache in opermotd and showfile. (diff) | |
Remove some unused method arguments.
Diffstat (limited to 'src/modules/m_permchannels.cpp')
| -rw-r--r-- | src/modules/m_permchannels.cpp | 4 |
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; } |
