X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Fmodules%2Fm_chghost.cpp;h=5f56236826931a9e4a556314e727a6547a625319;hb=2b3394855d5adddb16285b905503d9ffe5a1d963;hp=0ec88d7e1e11d74f27025e4c6917a41a044bb2a5;hpb=f2acdbc3820f0f4f5ef76a0a64e73d2a320df91f;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/modules/m_chghost.cpp b/src/modules/m_chghost.cpp index 0ec88d7e1..5f5623682 100644 --- a/src/modules/m_chghost.cpp +++ b/src/modules/m_chghost.cpp @@ -12,9 +12,6 @@ */ #include "inspircd.h" -#include "users.h" -#include "channels.h" -#include "modules.h" /* $ModDesc: Provides support for the CHGHOST command */ @@ -29,6 +26,7 @@ class cmd_chghost : public command_t { this->source = "m_chghost.so"; syntax = " "; + TRANSLATE3(TR_NICK, TR_TEXT, TR_END); } CmdResult Handle(const char** parameters, int pcnt, userrec *user) @@ -112,7 +110,7 @@ class ModuleChgHost : public Module Version GetVersion() { - return Version(1, 1, 0, 0, VF_VENDOR, API_VERSION); + return Version(1, 1, 0, 0, VF_COMMON | VF_VENDOR, API_VERSION); } };