X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fcmd_topic.cpp;h=e12fd64f9ef6becf26db735955246c7279e05cac;hb=4cc6e5e14fdbde499481dbab5ab2ad1257b8af9c;hp=d303830243e621d6604dc8f8ea523888f3ce3e76;hpb=4bbca0643b56f26f73a05462d226b2dd8871626b;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/cmd_topic.cpp b/src/cmd_topic.cpp index d30383024..e12fd64f9 100644 --- a/src/cmd_topic.cpp +++ b/src/cmd_topic.cpp @@ -15,14 +15,14 @@ #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) {