inspircd

A modular C++ IRC daemon (ircd). https://www.inspircd.org/
Log | Files | Refs | README

commit 30a651d0927228e4c0ccd2ec053e3ae08a8ae950
parent 7ad534c1af4578a0d46742c4b6b00a5a33afb63f
Author: Peter Powell <petpow@saberuk.com>
Date:   Tue, 25 Jun 2019 15:02:34 +0100

permchannels: remove an unused ChanModeReference.

Diffstat:
Msrc/modules/m_permchannels.cpp | 1-
1 file changed, 0 insertions(+), 1 deletion(-)

diff --git 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..