X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fmodules%2Fm_customtitle.cpp;h=df142a0891884b06d9d430e8cddc0e3950657bad;hb=e6d000042ea75d4e0485bec9564b47163a3ca414;hp=57b525e42ac25f688cc8cb59293c321801a05606;hpb=51a377d4dec9f3f50a9d54eaa1bf81bb38b4a6b1;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/modules/m_customtitle.cpp b/src/modules/m_customtitle.cpp index 57b525e42..df142a089 100644 --- a/src/modules/m_customtitle.cpp +++ b/src/modules/m_customtitle.cpp @@ -12,9 +12,6 @@ */ #include "inspircd.h" -#include "users.h" -#include "channels.h" -#include "modules.h" #include "wildcard.h" /* $ModDesc: Provides the TITLE command which allows setting of CUSTOM WHOIS TITLE line */ @@ -29,6 +26,7 @@ class cmd_title : public command_t { this->source = "m_customtitle.so"; syntax = " "; + TRANSLATE3(TR_NICK, TR_TEXT, TR_END); } bool OneOfMatches(const char* host, const char* ip, const char* hostlist) @@ -224,7 +222,7 @@ class ModuleCustomTitle : public Module virtual Version GetVersion() { - return Version(1,1,0,0,VF_VENDOR,API_VERSION); + return Version(1, 1, 0, 0, VF_COMMON | VF_VENDOR, API_VERSION); } };