summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-02-26 12:02:01 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-02-26 12:02:01 +0000
commit7e5b5d893a3fadda340c7de17533fc233c2c7dca (patch)
treea4a0be60da344b0ea408aec8ef0566cac8c730a4 /src
parent12156c0b2c859df0b0512bd9cb0a427dea18f737 (diff)
How did this random stray '1' get in here before the brace?
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3332 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r--src/modules/m_remove.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_remove.cpp b/src/modules/m_remove.cpp
index 2c7fd8b9d..5cbc38499 100644
--- a/src/modules/m_remove.cpp
+++ b/src/modules/m_remove.cpp
@@ -22,7 +22,7 @@ static Server *Srv;
/* This little function just converts a chanmode character (~ & @ & +) into an integer (5 4 3 2 1) */
/* XXX - this could be handy in the core, so it can be used elsewhere */
int chartolevel(std::string &privs)
-{1
+{
const char* n = privs.c_str();
switch (*n)