diff options
| author | 2019-06-25 15:02:34 +0100 | |
|---|---|---|
| committer | 2019-06-25 15:02:34 +0100 | |
| commit | 30a651d0927228e4c0ccd2ec053e3ae08a8ae950 (patch) | |
| tree | 03710fb9aaf131c1a7f06e293485828792c1ed2c /src/modules/m_permchannels.cpp | |
| parent | Replace large if/else blocks for target.type with switches (#1668). (diff) | |
| download | inspircd++-30a651d0927228e4c0ccd2ec053e3ae08a8ae950.tar.gz inspircd++-30a651d0927228e4c0ccd2ec053e3ae08a8ae950.tar.bz2 inspircd++-30a651d0927228e4c0ccd2ec053e3ae08a8ae950.zip | |
permchannels: remove an unused ChanModeReference.
Diffstat (limited to 'src/modules/m_permchannels.cpp')
| -rw-r--r-- | src/modules/m_permchannels.cpp | 1 |
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.. |
