From 30a651d0927228e4c0ccd2ec053e3ae08a8ae950 Mon Sep 17 00:00:00 2001 From: Peter Powell Date: Tue, 25 Jun 2019 15:02:34 +0100 Subject: [PATCH] permchannels: remove an unused ChanModeReference. --- src/modules/m_permchannels.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/modules/m_permchannels.cpp b/src/modules/m_permchannels.cpp index 766158a21..898d7aed8 100644 --- a/src/modules/m_permchannels.cpp +++ b/src/modules/m_permchannels.cpp @@ -51,7 +51,6 @@ class PermChannel : public ModeHandler static std::string permchannelsconf; static bool WriteDatabase(PermChannel& permchanmode, Module* mod, bool save_listmodes) { - ChanModeReference ban(mod, "ban"); /* * We need to perform an atomic write so as not to fuck things up. * So, let's write to a temporary file, flush it, then rename the file.. -- 2.39.5