#include "commands/cmd_topic.h"
-extern "C" DllExport command_t* init_command(InspIRCd* Instance)
+extern "C" DllExport Command* init_command(InspIRCd* Instance)
{
- return new cmd_topic(Instance);
+ return new CommandTopic(Instance);
}
-CmdResult cmd_topic::Handle (const char** parameters, int pcnt, userrec *user)
+CmdResult CommandTopic::Handle (const char** parameters, int pcnt, User *user)
{
- chanrec* Ptr;
+ Channel* Ptr;
if (pcnt == 1)
{