X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fmodules%2Fm_setname.cpp;h=fb439db6f51be16f29e096515f0400cd39e392d7;hb=9422f4157ccff0482cd70105ada3bd9325455eaa;hp=586c6f84e7b7d6da58d76a3d266bf2adb73b50a7;hpb=2b8ce39c6ea5e7a22fe39b21756f82051465f143;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/modules/m_setname.cpp b/src/modules/m_setname.cpp index 586c6f84e..fb439db6f 100644 --- a/src/modules/m_setname.cpp +++ b/src/modules/m_setname.cpp @@ -12,9 +12,6 @@ */ #include "inspircd.h" -#include "users.h" -#include "channels.h" -#include "modules.h" /* $ModDesc: Provides support for the SETNAME command */ @@ -27,6 +24,7 @@ class cmd_setname : public command_t { this->source = "m_setname.so"; syntax = ""; + TRANSLATE2(TR_TEXT, TR_END); } CmdResult Handle (const char** parameters, int pcnt, userrec *user) @@ -72,7 +70,7 @@ class ModuleSetName : public Module virtual Version GetVersion() { - return Version(1,1,0,1,VF_VENDOR,API_VERSION); + return Version(1, 1, 0, 1, VF_COMMON | VF_VENDOR, API_VERSION); } };