From 2fd5ed7aa9e5ac8a8d8e19c07f320306e594a47a Mon Sep 17 00:00:00 2001 From: brain Date: Fri, 7 Jul 2006 21:03:00 +0000 Subject: Started work on ModeParser::CleanMask() git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4145 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/mode.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src') 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; -- cgit v1.2.3