X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fcmd_join.cpp;h=218e0f7b8b33229c28f675d35b9648fb90521369;hb=cd7657bddc7a6dc2e7326077d173a874bf71f6bd;hp=aa2f537a5da9e23a3393d943bbfe7f4948226979;hpb=1552f3918ac0dad7fef9b86b70c0f4a63d4e37a7;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/cmd_join.cpp b/src/cmd_join.cpp index aa2f537a5..218e0f7b8 100644 --- a/src/cmd_join.cpp +++ b/src/cmd_join.cpp @@ -15,7 +15,7 @@ #include "users.h" #include "commands/cmd_join.h" -extern "C" command_t* init_command(InspIRCd* Instance) +extern "C" DllExport command_t* init_command(InspIRCd* Instance) { return new cmd_join(Instance); } @@ -42,7 +42,7 @@ CmdResult cmd_join::Handle (const char** parameters, int pcnt, userrec *user) if (ServerInstance->IsChannel(parameters[0])) { - chanrec::JoinUser(ServerInstance, user, parameters[0], false); + chanrec::JoinUser(ServerInstance, user, parameters[0], false, ""); return CMD_SUCCESS; } }