summaryrefslogtreecommitdiff
path: root/src/commands.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-12-16 10:40:27 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-12-16 10:40:27 +0000
commitc8e0180e06a9090918e9291f6e70d82113635d00 (patch)
treebb8f9bcd5dda4e511e73cd88a5349feb2691e0b8 /src/commands.cpp
parentec126582ac8a9c63adb9fa9d47033ef0511ec4e3 (diff)
Fixed to use CommandParser
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2515 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/commands.cpp')
-rw-r--r--src/commands.cpp4
1 files changed, 2 insertions, 2 deletions
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);
}