summaryrefslogtreecommitdiff
path: root/src/cmd_names.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-07-16 15:08:59 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-07-16 15:08:59 +0000
commit085cd4278f0f495c6d008a3d157026b33a23b787 (patch)
treeb1c5df846e0c74891546f24ebd5f41040dc86dea /src/cmd_names.cpp
parent863d8a3d08f7c4089683822f3d1e5544b6419ec6 (diff)
Created new class irc::commasepstream.
Will read comma seperated lists and works identically to irc::tokenstream It's re-entrant so we can run two of them together for JOIN git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4412 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/cmd_names.cpp')
-rw-r--r--src/cmd_names.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cmd_names.cpp b/src/cmd_names.cpp
index d25e7c5e6..ca0ded549 100644
--- a/src/cmd_names.cpp
+++ b/src/cmd_names.cpp
@@ -32,8 +32,9 @@ void cmd_names::Handle (const char** parameters, int pcnt, userrec *user)
return;
}
- if (ServerInstance->Parser->LoopCall(this,parameters,pcnt,user,0,pcnt-1,0))
+ if (ServerInstance->Parser->LoopCall(user, this, parameters, pcnt, 0))
return;
+
c = FindChan(parameters[0]);
if (c)
{