summaryrefslogtreecommitdiff
path: root/src/mode.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-07-07 21:03:00 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-07-07 21:03:00 +0000
commit2fd5ed7aa9e5ac8a8d8e19c07f320306e594a47a (patch)
tree6c074de21bf3fcd315a77230d5f359e810a5bfd7 /src/mode.cpp
parent53e8c67c588859275d245bafbd100a312d6e09a3 (diff)
Started work on ModeParser::CleanMask()
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4145 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/mode.cpp')
-rw-r--r--src/mode.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mode.cpp b/src/mode.cpp
index c3160066f..596233cfd 100644
--- a/src/mode.cpp
+++ b/src/mode.cpp
@@ -567,6 +567,12 @@ void cmd_mode::Handle (char **parameters, int pcnt, userrec *user)
return;
}
+void ModeParser::CleanMask(std::string &mask)
+{
+ std::string::size_type pos_of_pling = mask.find_first_of('!');
+ std::string::size_type pos_of_at = mask.find_first_of('@');
+}
+
bool ModeParser::AddMode(ModeHandler* mh, unsigned const char modeletter)
{
unsigned char mask = 0;