diff options
author | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-10-15 20:55:55 +0000 |
---|---|---|
committer | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-10-15 20:55:55 +0000 |
commit | 694e307c09334c21aaf1a6c3f0b7b6d95440dd3e (patch) | |
tree | 2384cd066b58a46ba209595f597208faaf6c3521 /src/cmd_commands.cpp | |
parent | 802cbffcb7816de7e4071b300966d868a14dc922 (diff) |
class command_t -> class Command. Whey :D
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8203 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/cmd_commands.cpp')
-rw-r--r-- | src/cmd_commands.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cmd_commands.cpp b/src/cmd_commands.cpp index 85437c2b0..41f68690e 100644 --- a/src/cmd_commands.cpp +++ b/src/cmd_commands.cpp @@ -16,14 +16,14 @@ /** Handle /COMMANDS */ -extern "C" DllExport command_t* init_command(InspIRCd* Instance) +extern "C" DllExport Command* init_command(InspIRCd* Instance) { return new cmd_commands(Instance); } CmdResult cmd_commands::Handle (const char** parameters, int pcnt, userrec *user) { - for (command_table::iterator i = ServerInstance->Parser->cmdlist.begin(); i != ServerInstance->Parser->cmdlist.end(); i++) + for (Commandable::iterator i = ServerInstance->Parser->cmdlist.begin(); i != ServerInstance->Parser->cmdlist.end(); i++) { user->WriteServ("902 %s :%s %s %d",user->nick,i->second->command.c_str(),i->second->source.c_str(),i->second->min_params); } |