summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-05-20 00:08:31 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-05-20 00:08:31 +0000
commitf652ccfcab85efd985f8fe8574016eb0dccf0f6e (patch)
tree34a37df63d7a33b423d6481021cc9c5bd48f2811 /src
parentaf7015eae9836876b8fd144a932beb59d4d5dafe (diff)
Fixed /COMMANDS
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1458 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r--src/commands.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/commands.cpp b/src/commands.cpp
index 8525b4936..87d6db0f0 100644
--- a/src/commands.cpp
+++ b/src/commands.cpp
@@ -189,11 +189,11 @@ void handle_part(char **parameters, int pcnt, userrec *user)
void handle_commands(char **parameters, int pcnt, userrec *user)
{
- for (int i = 0; i < command_table.size(); i++)
+ for (int i = 0; i < cmdlist.size(); i++)
{
- WriteServ(user->fd,"902 %s :%s %s %d",user->nick,command_table[i].command,command_table[i].source,command_table[i].min_params);
+ WriteServ(user->fd,"902 %s :%s %s %d",user->nick,cmdlist[i].command,cmdlist[i].source,cmdlist[i].min_params);
}
- WriteServ(user->fd,"903 %s :End of COMMANDS list");
+ WriteServ(user->fd,"903 %s :End of COMMANDS list",user->nick);
}
void handle_kick(char **parameters, int pcnt, userrec *user)