summaryrefslogtreecommitdiff
path: root/src/mode.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-09-03 00:44:11 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-09-03 00:44:11 +0000
commit540f3bd9da75eea65e8ae5e5fd929ff522d95870 (patch)
treebec0072b8a7911367a156de8e1d33f80bb4a376c /src/mode.cpp
parent1b7c615062a7b203c7fc3ce4c56e16eb671f7c15 (diff)
Add /RELOAD and move cmd_mode into its own command.
/RELOAD is the only thing you cant reload (ahem) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5119 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/mode.cpp')
-rw-r--r--src/mode.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/mode.cpp b/src/mode.cpp
index 5da96249f..3bdcb1a30 100644
--- a/src/mode.cpp
+++ b/src/mode.cpp
@@ -515,17 +515,6 @@ void ModeParser::Process(const char** parameters, int pcnt, userrec *user, bool
}
}
-
-void cmd_mode::Handle (const char** parameters, int pcnt, userrec *user)
-{
- if (!user)
- return;
-
- ServerInstance->Modes->Process(parameters, pcnt, user, false);
-
- return;
-}
-
void ModeParser::CleanMask(std::string &mask)
{
std::string::size_type pos_of_pling = mask.find_first_of('!');