summaryrefslogtreecommitdiff
path: root/src/mode.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-07-01 12:22:11 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-07-01 12:22:11 +0000
commit651936d904ab32cfaace233ecd5ff159e6a22c13 (patch)
tree961cc3cf427a31adde0d86bdd9870cba0af19af1 /src/mode.cpp
parent8199f4dd3e64450d464c0ac97b34d90c165df066 (diff)
Compile fixes
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7417 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/mode.cpp')
-rw-r--r--src/mode.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mode.cpp b/src/mode.cpp
index ebf18b1cf..4573cca07 100644
--- a/src/mode.cpp
+++ b/src/mode.cpp
@@ -483,7 +483,7 @@ void ModeParser::Process(const char** parameters, int pcnt, userrec *user, bool
parameter = parameters[parameter_counter++];
/* Yerk, invalid! */
- if ((parameter.find(':', 0, 1) == 0) || (parameter.rfind(' ') != std::string::npos))
+ if ((parameter.find(':') == 0) || (parameter.rfind(' ') != std::string::npos))
parameter.clear();
}
else