aboutsummaryrefslogtreecommitdiff
path: root/src/mode.cpp
diff options
context:
space:
mode:
authorGravatar Attila Molnar2016-08-29 14:50:59 +0200
committerGravatar Attila Molnar2016-08-29 14:50:59 +0200
commit5a5dcfa4f90f4235621b87d93c227566caa0fce1 (patch)
tree4f0f63b2b819f4e2e8576d37fa2591ee1f8d4df2 /src/mode.cpp
parentConvert ModeHandler::GetNumParams() to NeedsParam() that returns a bool (diff)
Mark ModeHandler::GetModeChar() and ModeWatcher::GetModeType() as const
Diffstat (limited to 'src/mode.cpp')
-rw-r--r--src/mode.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/mode.cpp b/src/mode.cpp
index 8d3d9ccfa..beea6d3a0 100644
--- a/src/mode.cpp
+++ b/src/mode.cpp
@@ -144,11 +144,6 @@ ModeWatcher::~ModeWatcher()
ServerInstance->Modes->DelModeWatcher(this);
}
-ModeType ModeWatcher::GetModeType()
-{
- return m_type;
-}
-
bool ModeWatcher::BeforeMode(User*, User*, Channel*, std::string&, bool)
{
return true;