summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-08-06 22:27:14 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-08-06 22:27:14 +0000
commit4262bac4f119f9e9344543a0509f5ef8707e2792 (patch)
treea6a3e18ca3b81fab4c24315568fe9441f771c771
parent94eb487064f37fa7bd5bcfd9c2faf8d275ad3725 (diff)
return statement in wrong place caused modes to be dropped
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4756 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--src/mode.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mode.cpp b/src/mode.cpp
index 31b90ed37..35385c60c 100644
--- a/src/mode.cpp
+++ b/src/mode.cpp
@@ -290,8 +290,8 @@ void ModeParser::Process(const char** parameters, int pcnt, userrec *user, bool
if ((mh) && (mh->IsListMode()))
{
mh->DisplayList(user, targetchannel);
+ return;
}
- return;
}
if (pcnt == 1)