From 694e307c09334c21aaf1a6c3f0b7b6d95440dd3e Mon Sep 17 00:00:00 2001 From: w00t Date: Mon, 15 Oct 2007 20:55:55 +0000 Subject: class command_t -> class Command. Whey :D git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8203 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/cmd_commands.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/cmd_commands.cpp') 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); } -- cgit v1.2.3