From c8e0180e06a9090918e9291f6e70d82113635d00 Mon Sep 17 00:00:00 2001 From: brain Date: Fri, 16 Dec 2005 10:40:27 +0000 Subject: Fixed to use CommandParser git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2515 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/commands.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/commands.cpp') diff --git a/src/commands.cpp b/src/commands.cpp index ca06e5ead..061ec61ae 100644 --- a/src/commands.cpp +++ b/src/commands.cpp @@ -131,9 +131,9 @@ void handle_part(char **parameters, int pcnt, userrec *user) void handle_commands(char **parameters, int pcnt, userrec *user) { - for (unsigned int i = 0; i < cmdlist.size(); i++) + for (unsigned int i = 0; i < Parser->cmdlist.size(); i++) { - WriteServ(user->fd,"902 %s :%s %s %d",user->nick,cmdlist[i].command,cmdlist[i].source,cmdlist[i].min_params); + WriteServ(user->fd,"902 %s :%s %s %d",user->nick,Parser->cmdlist[i].command,Parser->cmdlist[i].source,Parser->cmdlist[i].min_params); } WriteServ(user->fd,"903 %s :End of COMMANDS list",user->nick); } -- cgit v1.2.3