mirror of
https://github.com/anope/anope.git
synced 2026-07-10 10:43:13 +02:00
Mark m_sql_log, m_rewrite, and m_dnsbl as extra so they show up in modlist with no parameters, as they are "unusual"
This commit is contained in:
@@ -16,7 +16,7 @@ class SQLLog : public Module
|
||||
Anope::string table;
|
||||
|
||||
public:
|
||||
SQLLog(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, VENDOR)
|
||||
SQLLog(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, VENDOR | EXTRA)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -87,7 +87,7 @@ class ModuleDNSBL : public Module
|
||||
bool add_to_akill;
|
||||
|
||||
public:
|
||||
ModuleDNSBL(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, VENDOR)
|
||||
ModuleDNSBL(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, VENDOR | EXTRA)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
@@ -153,7 +153,7 @@ class ModuleRewrite : public Module
|
||||
RewriteCommand cmdrewrite;
|
||||
|
||||
public:
|
||||
ModuleRewrite(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, VENDOR), cmdrewrite(this)
|
||||
ModuleRewrite(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, VENDOR | EXTRA), cmdrewrite(this)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user