summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2019-06-25 15:02:34 +0100
committerPeter Powell <petpow@saberuk.com>2019-06-25 15:02:34 +0100
commit30a651d0927228e4c0ccd2ec053e3ae08a8ae950 (patch)
tree03710fb9aaf131c1a7f06e293485828792c1ed2c
parent7ad534c1af4578a0d46742c4b6b00a5a33afb63f (diff)
permchannels: remove an unused ChanModeReference.
-rw-r--r--src/modules/m_permchannels.cpp1
1 files changed, 0 insertions, 1 deletions
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..