mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-10 02:59:01 -04:00
Remove dummy API_VERSION from Version constructor
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11887 e03df62e-2008-0410-955e-edbf42e46eb7
This commit is contained in:
parent
a34b7ce9ed
commit
67a4a9b623
@ -246,7 +246,7 @@ class CoreExport VersionBase : public classbase
|
||||
|
||||
/** Initialize version class
|
||||
*/
|
||||
VersionBase(const std::string &desc, int flags = VF_NONE, int dummy = 0, const std::string& src_rev = VERSION " r" REVISION);
|
||||
VersionBase(const std::string &desc, int flags = VF_NONE, const std::string& src_rev = VERSION " r" REVISION);
|
||||
};
|
||||
|
||||
typedef VersionBase<API_VERSION> Version;
|
||||
|
@ -24,9 +24,9 @@
|
||||
#endif
|
||||
|
||||
|
||||
// version is a simple class for holding a modules version number
|
||||
// Version is a simple class for holding a modules version number
|
||||
template<>
|
||||
VersionBase<API_VERSION>::VersionBase(const std::string &modv, int flags, int, const std::string& rev)
|
||||
VersionBase<API_VERSION>::VersionBase(const std::string &modv, int flags, const std::string& rev)
|
||||
: description(modv), version(rev), Flags(flags)
|
||||
{
|
||||
}
|
||||
|
@ -43,7 +43,7 @@ class ModuleGeoIP : public Module
|
||||
|
||||
virtual Version GetVersion()
|
||||
{
|
||||
return Version("Provides a way to restrict users by country using GeoIP lookup", VF_VENDOR, API_VERSION);
|
||||
return Version("Provides a way to restrict users by country using GeoIP lookup", VF_VENDOR);
|
||||
}
|
||||
|
||||
virtual void OnRehash(User* user)
|
||||
|
@ -215,7 +215,7 @@ public:
|
||||
|
||||
Version GetVersion()
|
||||
{
|
||||
return Version("Allow/Deny connections based upon answer from LDAP server", VF_VENDOR, API_VERSION);
|
||||
return Version("Allow/Deny connections based upon answer from LDAP server", VF_VENDOR);
|
||||
}
|
||||
|
||||
};
|
||||
|
@ -178,7 +178,7 @@ public:
|
||||
|
||||
virtual Version GetVersion()
|
||||
{
|
||||
return Version("Allow/Deny connections based upon answer from LDAP server", VF_VENDOR, API_VERSION);
|
||||
return Version("Allow/Deny connections based upon answer from LDAP server", VF_VENDOR);
|
||||
}
|
||||
|
||||
};
|
||||
|
@ -825,7 +825,7 @@ class ModuleMsSQL : public Module
|
||||
|
||||
virtual Version GetVersion()
|
||||
{
|
||||
return Version("MsSQL provider", VF_VENDOR | VF_SERVICEPROVIDER, API_VERSION);
|
||||
return Version("MsSQL provider", VF_VENDOR | VF_SERVICEPROVIDER);
|
||||
}
|
||||
|
||||
};
|
||||
|
@ -756,7 +756,7 @@ void ModuleSQL::OnRehash(User* user)
|
||||
|
||||
Version ModuleSQL::GetVersion()
|
||||
{
|
||||
return Version("SQL Service Provider module for all other m_sql* modules", VF_VENDOR | VF_SERVICEPROVIDER, API_VERSION);
|
||||
return Version("SQL Service Provider module for all other m_sql* modules", VF_VENDOR | VF_SERVICEPROVIDER);
|
||||
}
|
||||
|
||||
void DispatcherThread::Run()
|
||||
|
@ -954,7 +954,7 @@ class ModulePgSQL : public Module
|
||||
|
||||
virtual Version GetVersion()
|
||||
{
|
||||
return Version("PostgreSQL Service Provider module for all other m_sql* modules, uses v2 of the SQL API", VF_VENDOR|VF_SERVICEPROVIDER, API_VERSION);
|
||||
return Version("PostgreSQL Service Provider module for all other m_sql* modules, uses v2 of the SQL API", VF_VENDOR|VF_SERVICEPROVIDER);
|
||||
}
|
||||
};
|
||||
|
||||
|
@ -76,7 +76,7 @@ public:
|
||||
|
||||
virtual Version GetVersion()
|
||||
{
|
||||
return Version("Regex Provider Module for PCRE", VF_COMMON | VF_VENDOR | VF_SERVICEPROVIDER, API_VERSION);
|
||||
return Version("Regex Provider Module for PCRE", VF_COMMON | VF_VENDOR | VF_SERVICEPROVIDER);
|
||||
}
|
||||
|
||||
virtual ~ModuleRegexPCRE()
|
||||
|
@ -85,7 +85,7 @@ public:
|
||||
|
||||
virtual Version GetVersion()
|
||||
{
|
||||
return Version("Regex Provider Module for POSIX Regular Expressions", VF_COMMON | VF_VENDOR | VF_SERVICEPROVIDER, API_VERSION);
|
||||
return Version("Regex Provider Module for POSIX Regular Expressions", VF_COMMON | VF_VENDOR | VF_SERVICEPROVIDER);
|
||||
}
|
||||
|
||||
virtual ~ModuleRegexPOSIX()
|
||||
|
@ -82,7 +82,7 @@ public:
|
||||
|
||||
virtual Version GetVersion()
|
||||
{
|
||||
return Version("Regex Provider Module for TRE Regular Expressions", VF_COMMON | VF_VENDOR | VF_SERVICEPROVIDER, API_VERSION);
|
||||
return Version("Regex Provider Module for TRE Regular Expressions", VF_COMMON | VF_VENDOR | VF_SERVICEPROVIDER);
|
||||
}
|
||||
|
||||
virtual ~ModuleRegexTRE()
|
||||
|
@ -723,7 +723,7 @@ class ModuleSQLite3 : public Module
|
||||
|
||||
virtual Version GetVersion()
|
||||
{
|
||||
return Version("sqlite3 provider", VF_VENDOR | VF_SERVICEPROVIDER, API_VERSION);
|
||||
return Version("sqlite3 provider", VF_VENDOR | VF_SERVICEPROVIDER);
|
||||
}
|
||||
|
||||
};
|
||||
|
@ -310,7 +310,7 @@ class ModuleSSLGnuTLS : public Module
|
||||
|
||||
Version GetVersion()
|
||||
{
|
||||
return Version("Provides SSL support for clients", VF_VENDOR, API_VERSION);
|
||||
return Version("Provides SSL support for clients", VF_VENDOR);
|
||||
}
|
||||
|
||||
|
||||
|
@ -264,7 +264,7 @@ class ModuleSSLOpenSSL : public Module
|
||||
|
||||
Version GetVersion()
|
||||
{
|
||||
return Version("Provides SSL support for clients", VF_VENDOR, API_VERSION);
|
||||
return Version("Provides SSL support for clients", VF_VENDOR);
|
||||
}
|
||||
|
||||
|
||||
|
@ -29,7 +29,7 @@ class ModuleAbbreviation : public Module
|
||||
|
||||
virtual Version GetVersion()
|
||||
{
|
||||
return Version("Provides the ability to abbreviate commands a-la BBC BASIC keywords.",VF_VENDOR,API_VERSION);
|
||||
return Version("Provides the ability to abbreviate commands a-la BBC BASIC keywords.",VF_VENDOR);
|
||||
}
|
||||
|
||||
virtual ModResult OnPreCommand(std::string &command, std::vector<std::string> ¶meters, User *user, bool validated, const std::string &original_line)
|
||||
|
@ -108,7 +108,7 @@ class ModuleAlias : public Module
|
||||
|
||||
virtual Version GetVersion()
|
||||
{
|
||||
return Version("Provides aliases of commands.", VF_VENDOR,API_VERSION);
|
||||
return Version("Provides aliases of commands.", VF_VENDOR);
|
||||
}
|
||||
|
||||
std::string GetVar(std::string varname, const std::string &original_line)
|
||||
|
@ -66,7 +66,7 @@ class ModuleAllowInvite : public Module
|
||||
|
||||
virtual Version GetVersion()
|
||||
{
|
||||
return Version("Provides support for channel mode +A, allowing /invite freely on a channel (and extban A to allow specific users it)",VF_COMMON|VF_VENDOR,API_VERSION);
|
||||
return Version("Provides support for channel mode +A, allowing /invite freely on a channel (and extban A to allow specific users it)",VF_COMMON|VF_VENDOR);
|
||||
}
|
||||
};
|
||||
|
||||
|
@ -61,7 +61,7 @@ class Modulealltime : public Module
|
||||
|
||||
virtual Version GetVersion()
|
||||
{
|
||||
return Version("Display timestamps from all servers connected to the network", VF_COMMON | VF_VENDOR, API_VERSION);
|
||||
return Version("Display timestamps from all servers connected to the network", VF_COMMON | VF_VENDOR);
|
||||
}
|
||||
|
||||
};
|
||||
|
@ -33,7 +33,7 @@ class ModuleAntiBear : public Module
|
||||
|
||||
virtual Version GetVersion()
|
||||
{
|
||||
return Version("Sends a numeric on connect which cripples a common type of trojan/spambot",VF_VENDOR,API_VERSION);
|
||||
return Version("Sends a numeric on connect which cripples a common type of trojan/spambot",VF_VENDOR);
|
||||
}
|
||||
|
||||
virtual ModResult OnPreCommand(std::string &command, std::vector<std::string> ¶meters, User *user, bool validated, const std::string &original_line)
|
||||
|
@ -33,7 +33,7 @@ class ModuleAntiBottler : public Module
|
||||
|
||||
virtual Version GetVersion()
|
||||
{
|
||||
return Version("Changes the ident of connecting bottler clients to 'bottler'",VF_VENDOR,API_VERSION);
|
||||
return Version("Changes the ident of connecting bottler clients to 'bottler'",VF_VENDOR);
|
||||
}
|
||||
|
||||
virtual ModResult OnPreCommand(std::string &command, std::vector<std::string> ¶meters, User *user, bool validated, const std::string &original_line)
|
||||
|
@ -70,7 +70,7 @@ class ModuleAuditorium : public Module
|
||||
|
||||
Version GetVersion()
|
||||
{
|
||||
return Version("Allows for auditorium channels (+u) where nobody can see others joining and parting or the nick list", VF_COMMON | VF_VENDOR, API_VERSION);
|
||||
return Version("Allows for auditorium channels (+u) where nobody can see others joining and parting or the nick list", VF_COMMON | VF_VENDOR);
|
||||
}
|
||||
|
||||
void OnNamesListItem(User* issuer, Membership* memb, std::string &prefixes, std::string &nick)
|
||||
|
@ -332,7 +332,7 @@ class ModuleBanRedirect : public Module
|
||||
|
||||
virtual Version GetVersion()
|
||||
{
|
||||
return Version("Allows an extended ban (+b) syntax redirecting banned users to another channel", VF_COMMON|VF_VENDOR, API_VERSION);
|
||||
return Version("Allows an extended ban (+b) syntax redirecting banned users to another channel", VF_COMMON|VF_VENDOR);
|
||||
}
|
||||
|
||||
void Prioritize()
|
||||
|
@ -60,7 +60,7 @@ class ModuleBlockAmsg : public Module
|
||||
|
||||
virtual Version GetVersion()
|
||||
{
|
||||
return Version("Attempt to block /amsg, at least some of the irritating mIRC scripts.",VF_VENDOR,API_VERSION);
|
||||
return Version("Attempt to block /amsg, at least some of the irritating mIRC scripts.",VF_VENDOR);
|
||||
}
|
||||
|
||||
virtual void OnRehash(User* user)
|
||||
|
@ -128,7 +128,7 @@ public:
|
||||
|
||||
virtual Version GetVersion()
|
||||
{
|
||||
return Version("Provides support to block all-CAPS channel messages and notices", VF_COMMON|VF_VENDOR,API_VERSION);
|
||||
return Version("Provides support to block all-CAPS channel messages and notices", VF_COMMON|VF_VENDOR);
|
||||
}
|
||||
};
|
||||
|
||||
|
@ -86,7 +86,7 @@ class ModuleBlockColour : public Module
|
||||
|
||||
virtual Version GetVersion()
|
||||
{
|
||||
return Version("Provides support for unreal-style channel mode +c",VF_COMMON|VF_VENDOR,API_VERSION);
|
||||
return Version("Provides support for unreal-style channel mode +c",VF_COMMON|VF_VENDOR);
|
||||
}
|
||||
};
|
||||
|
||||
|
@ -43,7 +43,7 @@ class ModuleBotMode : public Module
|
||||
|
||||
virtual Version GetVersion()
|
||||
{
|
||||
return Version("Provides support for unreal-style umode +B",VF_COMMON|VF_VENDOR,API_VERSION);
|
||||
return Version("Provides support for unreal-style umode +B",VF_COMMON|VF_VENDOR);
|
||||
}
|
||||
|
||||
virtual void OnWhois(User* src, User* dst)
|
||||
|
@ -362,7 +362,7 @@ public:
|
||||
|
||||
virtual Version GetVersion()
|
||||
{
|
||||
return Version("Implementation of callerid (umode +g & /accept, ala hybrid etc)", VF_COMMON | VF_VENDOR, API_VERSION);
|
||||
return Version("Implementation of callerid (umode +g & /accept, ala hybrid etc)", VF_COMMON | VF_VENDOR);
|
||||
}
|
||||
|
||||
virtual void On005Numeric(std::string& output)
|
||||
|
@ -205,7 +205,7 @@ class ModuleCBan : public Module
|
||||
|
||||
virtual Version GetVersion()
|
||||
{
|
||||
return Version("Gives /cban, aka C:lines. Think Q:lines, for channels.", VF_COMMON | VF_VENDOR, API_VERSION);
|
||||
return Version("Gives /cban, aka C:lines. Think Q:lines, for channels.", VF_COMMON | VF_VENDOR);
|
||||
}
|
||||
};
|
||||
|
||||
|
@ -129,7 +129,7 @@ class ModuleCensor : public Module
|
||||
|
||||
virtual Version GetVersion()
|
||||
{
|
||||
return Version("Provides user and channel +G mode",VF_COMMON|VF_VENDOR,API_VERSION);
|
||||
return Version("Provides user and channel +G mode",VF_COMMON|VF_VENDOR);
|
||||
}
|
||||
|
||||
};
|
||||
|
@ -434,7 +434,7 @@ public:
|
||||
|
||||
virtual Version GetVersion()
|
||||
{
|
||||
return Version("Change user's hosts connecting from known CGI:IRC hosts",VF_VENDOR,API_VERSION);
|
||||
return Version("Change user's hosts connecting from known CGI:IRC hosts",VF_VENDOR);
|
||||
}
|
||||
|
||||
};
|
||||
|
@ -35,7 +35,7 @@ class ModuleChanCreate : public Module
|
||||
|
||||
Version GetVersion()
|
||||
{
|
||||
return Version("Creates a snomask with notices whenever a new channel is created",VF_VENDOR,API_VERSION);
|
||||
return Version("Creates a snomask with notices whenever a new channel is created",VF_VENDOR);
|
||||
}
|
||||
|
||||
|
||||
|
@ -137,7 +137,7 @@ class ModuleChanFilter : public Module
|
||||
|
||||
virtual Version GetVersion()
|
||||
{
|
||||
return Version("Provides channel-specific censor lists (like mode +G but varies from channel to channel)", VF_COMMON | VF_VENDOR, API_VERSION);
|
||||
return Version("Provides channel-specific censor lists (like mode +G but varies from channel to channel)", VF_COMMON | VF_VENDOR);
|
||||
}
|
||||
|
||||
virtual ~ModuleChanFilter()
|
||||
|
@ -96,7 +96,7 @@ class ModuleChanLog : public Module
|
||||
|
||||
virtual Version GetVersion()
|
||||
{
|
||||
return Version("Logs snomask output to channel(s).", VF_VENDOR,API_VERSION);
|
||||
return Version("Logs snomask output to channel(s).", VF_VENDOR);
|
||||
}
|
||||
};
|
||||
|
||||
|
@ -130,7 +130,7 @@ class ModuleChannelNames : public Module
|
||||
|
||||
virtual Version GetVersion()
|
||||
{
|
||||
return Version("Implements config tags which allow changing characters allowed in channel names", VF_VENDOR,API_VERSION);
|
||||
return Version("Implements config tags which allow changing characters allowed in channel names", VF_VENDOR);
|
||||
}
|
||||
};
|
||||
|
||||
|
@ -30,7 +30,7 @@ class ModuleBadChannelExtban : public Module
|
||||
|
||||
Version GetVersion()
|
||||
{
|
||||
return Version("Extban 'j' - channel status/join ban", VF_COMMON|VF_VENDOR,API_VERSION);
|
||||
return Version("Extban 'j' - channel status/join ban", VF_COMMON|VF_VENDOR);
|
||||
}
|
||||
|
||||
ModResult OnCheckBan(User *user, Channel *c, const std::string& mask)
|
||||
|
@ -110,7 +110,7 @@ class ModuleChgHost : public Module
|
||||
|
||||
Version GetVersion()
|
||||
{
|
||||
return Version("Provides support for the CHGHOST command", VF_OPTCOMMON | VF_VENDOR, API_VERSION);
|
||||
return Version("Provides support for the CHGHOST command", VF_OPTCOMMON | VF_VENDOR);
|
||||
}
|
||||
|
||||
};
|
||||
|
@ -86,7 +86,7 @@ public:
|
||||
|
||||
virtual Version GetVersion()
|
||||
{
|
||||
return Version("Provides support for the CHGIDENT command", VF_OPTCOMMON | VF_VENDOR, API_VERSION);
|
||||
return Version("Provides support for the CHGIDENT command", VF_OPTCOMMON | VF_VENDOR);
|
||||
}
|
||||
|
||||
};
|
||||
|
@ -78,7 +78,7 @@ public:
|
||||
|
||||
virtual Version GetVersion()
|
||||
{
|
||||
return Version("Provides support for the CHGNAME command", VF_OPTCOMMON | VF_VENDOR, API_VERSION);
|
||||
return Version("Provides support for the CHGNAME command", VF_OPTCOMMON | VF_VENDOR);
|
||||
}
|
||||
|
||||
};
|
||||
|
@ -344,7 +344,7 @@ class ModuleCloaking : public Module
|
||||
{
|
||||
// returns the version number of the module to be
|
||||
// listed in /MODULES
|
||||
return Version("Provides masking of user hostnames", VF_COMMON|VF_VENDOR,API_VERSION);
|
||||
return Version("Provides masking of user hostnames", VF_COMMON|VF_VENDOR);
|
||||
}
|
||||
|
||||
void OnRehash(User* user)
|
||||
|
@ -72,7 +72,7 @@ class ModuleClones : public Module
|
||||
|
||||
virtual Version GetVersion()
|
||||
{
|
||||
return Version("Provides the /clones command to retrieve information on clones.", VF_VENDOR, API_VERSION);
|
||||
return Version("Provides the /clones command to retrieve information on clones.", VF_VENDOR);
|
||||
}
|
||||
|
||||
|
||||
|
@ -80,7 +80,7 @@ class ModuleClose : public Module
|
||||
|
||||
virtual Version GetVersion()
|
||||
{
|
||||
return Version("Provides /CLOSE functionality", VF_VENDOR, API_VERSION);
|
||||
return Version("Provides /CLOSE functionality", VF_VENDOR);
|
||||
}
|
||||
};
|
||||
|
||||
|
@ -64,7 +64,7 @@ class ModulePrivacyMode : public Module
|
||||
|
||||
virtual Version GetVersion()
|
||||
{
|
||||
return Version("Adds user mode +c, which if set, users must be on a common channel with you to private message you", VF_COMMON|VF_VENDOR, API_VERSION);
|
||||
return Version("Adds user mode +c, which if set, users must be on a common channel with you to private message you", VF_COMMON|VF_VENDOR);
|
||||
}
|
||||
|
||||
virtual ModResult OnUserPreMessage(User* user,void* dest,int target_type, std::string &text, char status, CUList &exempt_list)
|
||||
|
@ -71,7 +71,7 @@ class ModuleConnJoin : public Module
|
||||
|
||||
virtual Version GetVersion()
|
||||
{
|
||||
return Version("Forces users to join the specified channel(s) on connect", VF_VENDOR,API_VERSION);
|
||||
return Version("Forces users to join the specified channel(s) on connect", VF_VENDOR);
|
||||
}
|
||||
|
||||
virtual void OnPostConnect(User* user)
|
||||
|
@ -32,7 +32,7 @@ class ModuleModesOnConnect : public Module
|
||||
|
||||
virtual Version GetVersion()
|
||||
{
|
||||
return Version("Sets (and unsets) modes on users when they connect", VF_VENDOR,API_VERSION);
|
||||
return Version("Sets (and unsets) modes on users when they connect", VF_VENDOR);
|
||||
}
|
||||
|
||||
virtual void OnUserConnect(User* user)
|
||||
|
@ -37,7 +37,7 @@ class ModuleConnectBan : public Module
|
||||
|
||||
virtual Version GetVersion()
|
||||
{
|
||||
return Version("Throttles the connections of any users who try connect flood", VF_VENDOR,API_VERSION);
|
||||
return Version("Throttles the connections of any users who try connect flood", VF_VENDOR);
|
||||
}
|
||||
|
||||
virtual void OnRehash(User* user)
|
||||
|
@ -41,7 +41,7 @@ public:
|
||||
|
||||
virtual Version GetVersion()
|
||||
{
|
||||
return Version("Connection throttle", VF_VENDOR,API_VERSION);
|
||||
return Version("Connection throttle", VF_VENDOR);
|
||||
}
|
||||
|
||||
void InitConf()
|
||||
|
@ -92,7 +92,7 @@ class ModuleCycle : public Module
|
||||
|
||||
virtual Version GetVersion()
|
||||
{
|
||||
return Version("Provides support for unreal-style CYCLE command.", VF_VENDOR, API_VERSION);
|
||||
return Version("Provides support for unreal-style CYCLE command.", VF_VENDOR);
|
||||
}
|
||||
|
||||
};
|
||||
|
@ -471,7 +471,7 @@ class ModuleDCCAllow : public Module
|
||||
|
||||
virtual Version GetVersion()
|
||||
{
|
||||
return Version("Povides support for the /DCCALLOW command", VF_COMMON | VF_VENDOR, API_VERSION);
|
||||
return Version("Povides support for the /DCCALLOW command", VF_COMMON | VF_VENDOR);
|
||||
}
|
||||
};
|
||||
|
||||
|
@ -157,7 +157,7 @@ class ModuleDeaf : public Module
|
||||
|
||||
virtual Version GetVersion()
|
||||
{
|
||||
return Version("Provides support for ircu style usermode +d (deaf to channel messages and channel notices)", VF_COMMON|VF_VENDOR,API_VERSION);
|
||||
return Version("Provides support for ircu style usermode +d (deaf to channel messages and channel notices)", VF_COMMON|VF_VENDOR);
|
||||
}
|
||||
|
||||
};
|
||||
|
@ -100,7 +100,7 @@ ModuleDelayMsg::~ModuleDelayMsg()
|
||||
|
||||
Version ModuleDelayMsg::GetVersion()
|
||||
{
|
||||
return Version("Provides channelmode +d <int>, to deny messages to a channel until <int> seconds.", VF_COMMON | VF_VENDOR, API_VERSION);
|
||||
return Version("Provides channelmode +d <int>, to deny messages to a channel until <int> seconds.", VF_COMMON | VF_VENDOR);
|
||||
}
|
||||
|
||||
void ModuleDelayMsg::OnUserJoin(Membership* memb, bool sync, bool created, CUList&)
|
||||
|
@ -81,7 +81,7 @@ class ModuleDenyChannels : public Module
|
||||
|
||||
virtual Version GetVersion()
|
||||
{
|
||||
return Version("Implements config tags which allow blocking of joins to channels", VF_VENDOR,API_VERSION);
|
||||
return Version("Implements config tags which allow blocking of joins to channels", VF_VENDOR);
|
||||
}
|
||||
|
||||
|
||||
|
@ -65,7 +65,7 @@ class ModuleDeVoice : public Module
|
||||
|
||||
virtual Version GetVersion()
|
||||
{
|
||||
return Version("Provides voiced users with the ability to devoice themselves.", VF_VENDOR, API_VERSION);
|
||||
return Version("Provides voiced users with the ability to devoice themselves.", VF_VENDOR);
|
||||
}
|
||||
};
|
||||
|
||||
|
@ -228,7 +228,7 @@ class ModuleDNSBL : public Module
|
||||
|
||||
virtual Version GetVersion()
|
||||
{
|
||||
return Version("Provides handling of DNS blacklists", VF_VENDOR, API_VERSION);
|
||||
return Version("Provides handling of DNS blacklists", VF_VENDOR);
|
||||
}
|
||||
|
||||
|
||||
|
@ -78,7 +78,7 @@ class ModuleExemptChanOps : public Module
|
||||
|
||||
virtual Version GetVersion()
|
||||
{
|
||||
return Version("Provides the ability to allow channel operators to be exempt from certain modes.",VF_VENDOR|VF_COMMON,API_VERSION);
|
||||
return Version("Provides the ability to allow channel operators to be exempt from certain modes.",VF_VENDOR|VF_COMMON);
|
||||
}
|
||||
|
||||
virtual void OnRehash(User* user)
|
||||
|
@ -477,7 +477,7 @@ void FilterBase::OnLoadModule(Module* mod)
|
||||
|
||||
Version FilterBase::GetVersion()
|
||||
{
|
||||
return Version("Text (spam) filtering", VF_VENDOR | VF_COMMON, API_VERSION);
|
||||
return Version("Text (spam) filtering", VF_VENDOR | VF_COMMON);
|
||||
}
|
||||
|
||||
|
||||
|
@ -66,7 +66,7 @@ class ModuleGlobops : public Module
|
||||
|
||||
virtual Version GetVersion()
|
||||
{
|
||||
return Version("Provides support for GLOBOPS and user mode +g", VF_COMMON | VF_VENDOR, API_VERSION);
|
||||
return Version("Provides support for GLOBOPS and user mode +g", VF_COMMON | VF_VENDOR);
|
||||
}
|
||||
|
||||
};
|
||||
|
@ -183,7 +183,7 @@ class ModuleHelpop : public Module
|
||||
|
||||
virtual Version GetVersion()
|
||||
{
|
||||
return Version("/helpop Command, Works like Unreal helpop", VF_COMMON | VF_VENDOR, API_VERSION);
|
||||
return Version("/helpop Command, Works like Unreal helpop", VF_COMMON | VF_VENDOR);
|
||||
}
|
||||
};
|
||||
|
||||
|
@ -65,7 +65,7 @@ class ModuleHideChans : public Module
|
||||
|
||||
virtual Version GetVersion()
|
||||
{
|
||||
return Version("Provides support for hiding channels with user mode +I", VF_COMMON | VF_VENDOR, API_VERSION);
|
||||
return Version("Provides support for hiding channels with user mode +I", VF_COMMON | VF_VENDOR);
|
||||
}
|
||||
|
||||
virtual void OnRehash(User* user)
|
||||
|
@ -69,7 +69,7 @@ class ModuleHideOper : public Module
|
||||
|
||||
virtual Version GetVersion()
|
||||
{
|
||||
return Version("Provides support for hiding oper status with user mode +H", VF_COMMON | VF_VENDOR, API_VERSION);
|
||||
return Version("Provides support for hiding oper status with user mode +H", VF_COMMON | VF_VENDOR);
|
||||
}
|
||||
|
||||
ModResult OnWhoisLine(User* user, User* dest, int &numeric, std::string &text)
|
||||
|
@ -88,7 +88,7 @@ class ModuleHostChange : public Module
|
||||
{
|
||||
// returns the version number of the module to be
|
||||
// listed in /MODULES
|
||||
return Version("Provides masking of user hostnames in a different way to m_cloaking", VF_VENDOR, API_VERSION);
|
||||
return Version("Provides masking of user hostnames in a different way to m_cloaking", VF_VENDOR);
|
||||
}
|
||||
|
||||
virtual void OnUserConnect(User* user)
|
||||
|
@ -421,7 +421,7 @@ class ModuleHttpServer : public Module
|
||||
|
||||
virtual Version GetVersion()
|
||||
{
|
||||
return Version("Provides HTTP serving facilities to modules", VF_VENDOR | VF_SERVICEPROVIDER, API_VERSION);
|
||||
return Version("Provides HTTP serving facilities to modules", VF_VENDOR | VF_SERVICEPROVIDER);
|
||||
}
|
||||
};
|
||||
|
||||
|
@ -277,7 +277,7 @@ class ModuleHTTPAccessList : public Module
|
||||
|
||||
virtual Version GetVersion()
|
||||
{
|
||||
return Version("Provides access control lists (passwording of resources, ip restrictions etc) to m_httpd.so dependent modules", VF_VENDOR, API_VERSION);
|
||||
return Version("Provides access control lists (passwording of resources, ip restrictions etc) to m_httpd.so dependent modules", VF_VENDOR);
|
||||
}
|
||||
};
|
||||
|
||||
|
@ -114,7 +114,7 @@ class ModuleHttpStats : public Module
|
||||
|
||||
virtual Version GetVersion()
|
||||
{
|
||||
return Version("Provides statistics over HTTP via m_httpd.so", VF_VENDOR, API_VERSION);
|
||||
return Version("Provides statistics over HTTP via m_httpd.so", VF_VENDOR);
|
||||
}
|
||||
};
|
||||
|
||||
|
@ -213,7 +213,7 @@ class ModuleHttpStats : public Module
|
||||
|
||||
virtual Version GetVersion()
|
||||
{
|
||||
return Version("Provides statistics over HTTP via m_httpd.so", VF_VENDOR, API_VERSION);
|
||||
return Version("Provides statistics over HTTP via m_httpd.so", VF_VENDOR);
|
||||
}
|
||||
};
|
||||
|
||||
|
@ -291,7 +291,7 @@ class ModuleIdent : public Module
|
||||
|
||||
virtual Version GetVersion()
|
||||
{
|
||||
return Version("Provides support for RFC1413 ident lookups", VF_VENDOR, API_VERSION);
|
||||
return Version("Provides support for RFC1413 ident lookups", VF_VENDOR);
|
||||
}
|
||||
|
||||
virtual void OnRehash(User *user)
|
||||
|
@ -246,7 +246,7 @@ class ModuleJoinFlood : public Module
|
||||
|
||||
Version GetVersion()
|
||||
{
|
||||
return Version("Provides channel mode +j (join flood protection)", VF_COMMON | VF_VENDOR, API_VERSION);
|
||||
return Version("Provides channel mode +j (join flood protection)", VF_COMMON | VF_VENDOR);
|
||||
}
|
||||
};
|
||||
|
||||
|
@ -161,7 +161,7 @@ class ModuleJumpServer : public Module
|
||||
|
||||
virtual Version GetVersion()
|
||||
{
|
||||
return Version("Provides support for the RPL_REDIR numeric", VF_VENDOR, API_VERSION);
|
||||
return Version("Provides support for the RPL_REDIR numeric", VF_VENDOR);
|
||||
}
|
||||
|
||||
};
|
||||
|
@ -100,7 +100,7 @@ class ModuleKnock : public Module
|
||||
|
||||
virtual Version GetVersion()
|
||||
{
|
||||
return Version("Provides support for /KNOCK and mode +K", VF_COMMON | VF_VENDOR, API_VERSION);
|
||||
return Version("Provides support for /KNOCK and mode +K", VF_COMMON | VF_VENDOR);
|
||||
}
|
||||
};
|
||||
|
||||
|
@ -110,7 +110,7 @@ public:
|
||||
|
||||
virtual Version GetVersion()
|
||||
{
|
||||
return Version("Allows locking of the server to stop all incoming connections till unlocked again", VF_VENDOR, API_VERSION);
|
||||
return Version("Allows locking of the server to stop all incoming connections till unlocked again", VF_VENDOR);
|
||||
}
|
||||
};
|
||||
|
||||
|
@ -49,7 +49,7 @@ class ModuleMapHide : public Module
|
||||
|
||||
virtual Version GetVersion()
|
||||
{
|
||||
return Version("Hide /MAP and /LINKS in the same form as ircu (mostly useless)", VF_VENDOR, API_VERSION);
|
||||
return Version("Hide /MAP and /LINKS in the same form as ircu (mostly useless)", VF_VENDOR);
|
||||
}
|
||||
};
|
||||
|
||||
|
@ -296,7 +296,7 @@ class ModuleMD5 : public Module
|
||||
|
||||
Version GetVersion()
|
||||
{
|
||||
return Version("Allows for MD5 encrypted oper passwords",VF_VENDOR|VF_SERVICEPROVIDER,API_VERSION);
|
||||
return Version("Allows for MD5 encrypted oper passwords",VF_VENDOR|VF_SERVICEPROVIDER);
|
||||
}
|
||||
};
|
||||
|
||||
|
@ -268,7 +268,7 @@ class ModuleMsgFlood : public Module
|
||||
|
||||
Version GetVersion()
|
||||
{
|
||||
return Version("Provides channel mode +f (message flood protection)", VF_COMMON | VF_VENDOR, API_VERSION);
|
||||
return Version("Provides channel mode +f (message flood protection)", VF_COMMON | VF_VENDOR);
|
||||
}
|
||||
};
|
||||
|
||||
|
@ -30,7 +30,7 @@ class ModuleQuietBan : public Module
|
||||
|
||||
virtual Version GetVersion()
|
||||
{
|
||||
return Version("Implements extban +b m: - mute bans",VF_COMMON|VF_VENDOR,API_VERSION);
|
||||
return Version("Implements extban +b m: - mute bans",VF_COMMON|VF_VENDOR);
|
||||
}
|
||||
|
||||
virtual ModResult OnUserPreMessage(User *user, void *dest, int target_type, std::string &text, char status, CUList &exempt_list)
|
||||
|
@ -277,7 +277,7 @@ class ModuleNationalChars : public Module
|
||||
|
||||
virtual Version GetVersion()
|
||||
{
|
||||
return Version("Provides an ability to have non-RFC1459 nicks & support for national CASEMAPPING",VF_COMMON,API_VERSION);
|
||||
return Version("Provides an ability to have non-RFC1459 nicks & support for national CASEMAPPING",VF_COMMON);
|
||||
}
|
||||
|
||||
/*make an array to check against it 8bit characters a bit faster. Whether allowed or uppercase (for your needs).*/
|
||||
|
@ -166,7 +166,7 @@ class ModuleNickLock : public Module
|
||||
|
||||
Version GetVersion()
|
||||
{
|
||||
return Version("Provides the NICKLOCK command, allows an oper to chage a users nick and lock them to it until they quit", VF_COMMON | VF_VENDOR, API_VERSION);
|
||||
return Version("Provides the NICKLOCK command, allows an oper to chage a users nick and lock them to it until they quit", VF_COMMON | VF_VENDOR);
|
||||
}
|
||||
|
||||
|
||||
|
@ -65,7 +65,7 @@ class ModuleNoCTCP : public Module
|
||||
|
||||
virtual Version GetVersion()
|
||||
{
|
||||
return Version("Provides support for unreal-style channel mode +C", VF_COMMON | VF_VENDOR, API_VERSION);
|
||||
return Version("Provides support for unreal-style channel mode +C", VF_COMMON | VF_VENDOR);
|
||||
}
|
||||
|
||||
virtual ModResult OnUserPreMessage(User* user,void* dest,int target_type, std::string &text, char status, CUList &exempt_list)
|
||||
|
@ -65,7 +65,7 @@ class ModuleNoKicks : public Module
|
||||
|
||||
Version GetVersion()
|
||||
{
|
||||
return Version("Provides support for unreal-style channel mode +Q", VF_COMMON | VF_VENDOR, API_VERSION);
|
||||
return Version("Provides support for unreal-style channel mode +Q", VF_COMMON | VF_VENDOR);
|
||||
}
|
||||
};
|
||||
|
||||
|
@ -60,7 +60,7 @@ class ModuleNoNickChange : public Module
|
||||
|
||||
virtual Version GetVersion()
|
||||
{
|
||||
return Version("Provides support for channel mode +N & extban +b N: which prevents nick changes on channel", VF_COMMON | VF_VENDOR, API_VERSION);
|
||||
return Version("Provides support for channel mode +N & extban +b N: which prevents nick changes on channel", VF_COMMON | VF_VENDOR);
|
||||
}
|
||||
|
||||
|
||||
|
@ -72,7 +72,7 @@ class ModuleNoNotice : public Module
|
||||
|
||||
virtual Version GetVersion()
|
||||
{
|
||||
return Version("Provides support for unreal-style channel mode +T", VF_COMMON | VF_VENDOR, API_VERSION);
|
||||
return Version("Provides support for unreal-style channel mode +T", VF_COMMON | VF_VENDOR);
|
||||
}
|
||||
};
|
||||
|
||||
|
@ -31,7 +31,7 @@ class ModulePartMsgBan : public Module
|
||||
|
||||
virtual Version GetVersion()
|
||||
{
|
||||
return Version("Implements extban +b p: - part message bans", VF_COMMON|VF_VENDOR, API_VERSION);
|
||||
return Version("Implements extban +b p: - part message bans", VF_COMMON|VF_VENDOR);
|
||||
}
|
||||
|
||||
|
||||
|
@ -88,7 +88,7 @@ class ModuleOperChans : public Module
|
||||
|
||||
Version GetVersion()
|
||||
{
|
||||
return Version("Provides support for oper-only chans via the +O channel mode and 'O' extban", VF_VENDOR | VF_COMMON, API_VERSION);
|
||||
return Version("Provides support for oper-only chans via the +O channel mode and 'O' extban", VF_VENDOR | VF_COMMON);
|
||||
}
|
||||
};
|
||||
|
||||
|
@ -81,7 +81,7 @@ class ModuleOperjoin : public Module
|
||||
|
||||
virtual Version GetVersion()
|
||||
{
|
||||
return Version("Forces opers to join the specified channel(s) on oper-up", VF_VENDOR, API_VERSION);
|
||||
return Version("Forces opers to join the specified channel(s) on oper-up", VF_VENDOR);
|
||||
}
|
||||
|
||||
virtual void OnPostOper(User* user, const std::string &opertype, const std::string &opername)
|
||||
|
@ -40,7 +40,7 @@ class ModuleOperLevels : public Module
|
||||
|
||||
virtual Version GetVersion()
|
||||
{
|
||||
return Version("Gives each oper type a 'level', cannot kill opers 'above' your level.", VF_VENDOR, API_VERSION);
|
||||
return Version("Gives each oper type a 'level', cannot kill opers 'above' your level.", VF_VENDOR);
|
||||
}
|
||||
|
||||
virtual ModResult OnKill(User* source, User* dest, const std::string &reason)
|
||||
|
@ -32,7 +32,7 @@ class ModuleOperLog : public Module
|
||||
|
||||
virtual Version GetVersion()
|
||||
{
|
||||
return Version("A module which logs all oper commands to the ircd log at default loglevel.", VF_VENDOR, API_VERSION);
|
||||
return Version("A module which logs all oper commands to the ircd log at default loglevel.", VF_VENDOR);
|
||||
}
|
||||
|
||||
|
||||
|
@ -45,7 +45,7 @@ class ModuleModesOnOper : public Module
|
||||
|
||||
virtual Version GetVersion()
|
||||
{
|
||||
return Version("Sets (and unsets) modes on opers when they oper up", VF_VENDOR, API_VERSION);
|
||||
return Version("Sets (and unsets) modes on opers when they oper up", VF_VENDOR);
|
||||
}
|
||||
|
||||
virtual void OnPostOper(User* user, const std::string &opertype, const std::string &opername)
|
||||
|
@ -93,7 +93,7 @@ class ModuleOpermotd : public Module
|
||||
|
||||
virtual Version GetVersion()
|
||||
{
|
||||
return Version("Shows a message to opers after oper-up, adds /opermotd", VF_VENDOR, API_VERSION);
|
||||
return Version("Shows a message to opers after oper-up, adds /opermotd", VF_VENDOR);
|
||||
}
|
||||
|
||||
|
||||
|
@ -133,7 +133,7 @@ class ModuleOperPrefixMode : public Module
|
||||
|
||||
Version GetVersion()
|
||||
{
|
||||
return Version("Gives opers cmode +y which provides a staff prefix.", VF_COMMON | VF_VENDOR, API_VERSION);
|
||||
return Version("Gives opers cmode +y which provides a staff prefix.", VF_COMMON | VF_VENDOR);
|
||||
}
|
||||
};
|
||||
|
||||
|
@ -207,7 +207,7 @@ class ModuleOverride : public Module
|
||||
|
||||
Version GetVersion()
|
||||
{
|
||||
return Version("Provides support for unreal-style oper-override",VF_VENDOR,API_VERSION);
|
||||
return Version("Provides support for unreal-style oper-override",VF_VENDOR);
|
||||
}
|
||||
};
|
||||
|
||||
|
@ -151,7 +151,7 @@ class ModuleOperHash : public Module
|
||||
|
||||
virtual Version GetVersion()
|
||||
{
|
||||
return Version("Allows for hashed oper passwords",VF_VENDOR,API_VERSION);
|
||||
return Version("Allows for hashed oper passwords",VF_VENDOR);
|
||||
}
|
||||
};
|
||||
|
||||
|
@ -292,7 +292,7 @@ public:
|
||||
|
||||
virtual Version GetVersion()
|
||||
{
|
||||
return Version("Provides support for channel mode +P to provide permanent channels",VF_COMMON|VF_VENDOR,API_VERSION);
|
||||
return Version("Provides support for channel mode +P to provide permanent channels",VF_COMMON|VF_VENDOR);
|
||||
}
|
||||
|
||||
virtual ModResult OnChannelPreDelete(Channel *c)
|
||||
|
@ -97,7 +97,7 @@ class ModuleRandQuote : public Module
|
||||
|
||||
virtual Version GetVersion()
|
||||
{
|
||||
return Version("Provides random Quotes on Connect.",VF_VENDOR,API_VERSION);
|
||||
return Version("Provides random Quotes on Connect.",VF_VENDOR);
|
||||
}
|
||||
|
||||
virtual void OnUserConnect(User* user)
|
||||
|
@ -134,7 +134,7 @@ class ModuleRedirect : public Module
|
||||
|
||||
virtual Version GetVersion()
|
||||
{
|
||||
return Version("Provides channel mode +L (limit redirection)", VF_COMMON | VF_VENDOR, API_VERSION);
|
||||
return Version("Provides channel mode +L (limit redirection)", VF_COMMON | VF_VENDOR);
|
||||
}
|
||||
};
|
||||
|
||||
|
@ -214,7 +214,7 @@ class ModuleRemove : public Module
|
||||
|
||||
virtual Version GetVersion()
|
||||
{
|
||||
return Version("Provides a /remove command, this is mostly an alternative to /kick, except makes users appear to have parted the channel", VF_OPTCOMMON | VF_VENDOR, API_VERSION);
|
||||
return Version("Provides a /remove command, this is mostly an alternative to /kick, except makes users appear to have parted the channel", VF_OPTCOMMON | VF_VENDOR);
|
||||
}
|
||||
|
||||
};
|
||||
|
@ -75,7 +75,7 @@ class ModuleRestrictChans : public Module
|
||||
|
||||
virtual Version GetVersion()
|
||||
{
|
||||
return Version("Only opers may create new channels if this module is loaded",VF_VENDOR,API_VERSION);
|
||||
return Version("Only opers may create new channels if this module is loaded",VF_VENDOR);
|
||||
}
|
||||
};
|
||||
|
||||
|
@ -62,7 +62,7 @@ class ModuleRestrictMsg : public Module
|
||||
|
||||
virtual Version GetVersion()
|
||||
{
|
||||
return Version("Forbids users from messaging each other. Users may still message opers and opers may message other opers.",VF_VENDOR,API_VERSION);
|
||||
return Version("Forbids users from messaging each other. Users may still message opers and opers may message other opers.",VF_VENDOR);
|
||||
}
|
||||
};
|
||||
|
||||
|
@ -465,7 +465,7 @@ class ModuleRIPEMD160 : public Module
|
||||
|
||||
virtual Version GetVersion()
|
||||
{
|
||||
return Version("Allows for RIPEMD-160 encrypted oper passwords", VF_VENDOR|VF_SERVICEPROVIDER, API_VERSION);
|
||||
return Version("Allows for RIPEMD-160 encrypted oper passwords", VF_VENDOR|VF_SERVICEPROVIDER);
|
||||
}
|
||||
|
||||
};
|
||||
|
@ -227,7 +227,7 @@ class ModuleRLine : public Module
|
||||
|
||||
virtual Version GetVersion()
|
||||
{
|
||||
return Version("RLINE: Regexp user banning.", VF_COMMON | VF_VENDOR, API_VERSION);
|
||||
return Version("RLINE: Regexp user banning.", VF_COMMON | VF_VENDOR);
|
||||
}
|
||||
|
||||
virtual void OnUserConnect(User* user)
|
||||
|
@ -109,7 +109,7 @@ class ModuleSajoin : public Module
|
||||
|
||||
virtual Version GetVersion()
|
||||
{
|
||||
return Version("Provides support for unreal-style SAJOIN command", VF_OPTCOMMON | VF_VENDOR, API_VERSION);
|
||||
return Version("Provides support for unreal-style SAJOIN command", VF_OPTCOMMON | VF_VENDOR);
|
||||
}
|
||||
|
||||
};
|
||||
|
@ -109,7 +109,7 @@ class ModuleSakick : public Module
|
||||
|
||||
virtual Version GetVersion()
|
||||
{
|
||||
return Version("Provides a SAKICK command", VF_OPTCOMMON|VF_VENDOR, API_VERSION);
|
||||
return Version("Provides a SAKICK command", VF_OPTCOMMON|VF_VENDOR);
|
||||
}
|
||||
|
||||
};
|
||||
|
@ -55,7 +55,7 @@ class ModuleSaMode : public Module
|
||||
|
||||
Version GetVersion()
|
||||
{
|
||||
return Version("Provides more advanced UnrealIRCd SAMODE command", VF_VENDOR, API_VERSION);
|
||||
return Version("Provides more advanced UnrealIRCd SAMODE command", VF_VENDOR);
|
||||
}
|
||||
|
||||
ModResult OnPreMode(User* source,User* dest,Channel* channel, const std::vector<std::string>& parameters)
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user