summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/extra/m_ssl_gnutls.cpp2
-rw-r--r--src/modules/extra/m_ssl_openssl.cpp2
-rw-r--r--src/modules/m_abbreviation.cpp2
-rw-r--r--src/modules/m_banredirect.cpp2
-rw-r--r--src/modules/m_cgiirc.cpp2
-rw-r--r--src/modules/m_cloaking.cpp4
-rw-r--r--src/modules/m_conn_join.cpp2
-rw-r--r--src/modules/m_conn_umodes.cpp2
-rw-r--r--src/modules/m_hostchange.cpp2
-rw-r--r--src/modules/m_nicklock.cpp2
-rw-r--r--src/modules/m_securelist.cpp2
-rw-r--r--src/modules/m_spanningtree/main.cpp2
-rw-r--r--src/modules/m_spy.cpp2
13 files changed, 14 insertions, 14 deletions
diff --git a/src/modules/extra/m_ssl_gnutls.cpp b/src/modules/extra/m_ssl_gnutls.cpp
index 4d3c8fd86..a6d2760ee 100644
--- a/src/modules/extra/m_ssl_gnutls.cpp
+++ b/src/modules/extra/m_ssl_gnutls.cpp
@@ -933,7 +933,7 @@ class ModuleSSLGnuTLS : public Module
void Prioritize()
{
Module* server = ServerInstance->Modules->Find("m_spanningtree.so");
- ServerInstance->Modules->SetPriority(this, I_OnPostConnect, PRIO_AFTER, &server);
+ ServerInstance->Modules->SetPriority(this, I_OnPostConnect, PRIORITY_AFTER, &server);
}
};
diff --git a/src/modules/extra/m_ssl_openssl.cpp b/src/modules/extra/m_ssl_openssl.cpp
index ee15ee88c..b5a2741f9 100644
--- a/src/modules/extra/m_ssl_openssl.cpp
+++ b/src/modules/extra/m_ssl_openssl.cpp
@@ -882,7 +882,7 @@ class ModuleSSLOpenSSL : public Module
void Prioritize()
{
Module* server = ServerInstance->Modules->Find("m_spanningtree.so");
- ServerInstance->Modules->SetPriority(this, I_OnPostConnect, PRIO_AFTER, &server);
+ ServerInstance->Modules->SetPriority(this, I_OnPostConnect, PRIORITY_AFTER, &server);
}
};
diff --git a/src/modules/m_abbreviation.cpp b/src/modules/m_abbreviation.cpp
index a5735edab..f29ad1b58 100644
--- a/src/modules/m_abbreviation.cpp
+++ b/src/modules/m_abbreviation.cpp
@@ -25,7 +25,7 @@ class ModuleAbbreviation : public Module
{
Me->Modules->Attach(I_OnPreCommand, this);
/* Must do this first */
- Me->Modules->SetPriority(this, I_OnPreCommand, PRIO_FIRST);
+ Me->Modules->SetPriority(this, I_OnPreCommand, PRIORITY_FIRST);
}
virtual Version GetVersion()
diff --git a/src/modules/m_banredirect.cpp b/src/modules/m_banredirect.cpp
index 7a24dc545..72f585f02 100644
--- a/src/modules/m_banredirect.cpp
+++ b/src/modules/m_banredirect.cpp
@@ -339,7 +339,7 @@ class ModuleBanRedirect : public Module
void Prioritize()
{
Module* banex = ServerInstance->Modules->Find("m_banexception.so");
- ServerInstance->Modules->SetPriority(this, I_OnUserPreJoin, PRIO_BEFORE, &banex);
+ ServerInstance->Modules->SetPriority(this, I_OnUserPreJoin, PRIORITY_BEFORE, &banex);
}
};
diff --git a/src/modules/m_cgiirc.cpp b/src/modules/m_cgiirc.cpp
index cb6532d51..14c4bd0c7 100644
--- a/src/modules/m_cgiirc.cpp
+++ b/src/modules/m_cgiirc.cpp
@@ -156,7 +156,7 @@ public:
virtual void Prioritize()
{
- ServerInstance->Modules->SetPriority(this, I_OnUserConnect, PRIO_FIRST);
+ ServerInstance->Modules->SetPriority(this, I_OnUserConnect, PRIORITY_FIRST);
}
virtual void OnRehash(User* user, const std::string &parameter)
diff --git a/src/modules/m_cloaking.cpp b/src/modules/m_cloaking.cpp
index 31f9eea5d..7eb2abd17 100644
--- a/src/modules/m_cloaking.cpp
+++ b/src/modules/m_cloaking.cpp
@@ -332,11 +332,11 @@ class ModuleCloaking : public Module
void Prioritize()
{
/* Needs to be after m_banexception etc. */
- ServerInstance->Modules->SetPriority(this, I_OnCheckBan, PRIO_LAST);
+ ServerInstance->Modules->SetPriority(this, I_OnCheckBan, PRIORITY_LAST);
/* but before m_conn_umodes, so host is generated ready to apply */
Module *um = ServerInstance->Modules->Find("m_conn_umodes.so");
- ServerInstance->Modules->SetPriority(this, I_OnUserConnect, PRIO_AFTER, &um);
+ ServerInstance->Modules->SetPriority(this, I_OnUserConnect, PRIORITY_AFTER, &um);
}
virtual void OnUserDisconnect(User* user)
diff --git a/src/modules/m_conn_join.cpp b/src/modules/m_conn_join.cpp
index d9f22ccc5..29645b239 100644
--- a/src/modules/m_conn_join.cpp
+++ b/src/modules/m_conn_join.cpp
@@ -52,7 +52,7 @@ class ModuleConnJoin : public Module
void Prioritize()
{
- ServerInstance->Modules->SetPriority(this, I_OnPostConnect, PRIO_LAST);
+ ServerInstance->Modules->SetPriority(this, I_OnPostConnect, PRIORITY_LAST);
}
diff --git a/src/modules/m_conn_umodes.cpp b/src/modules/m_conn_umodes.cpp
index 26670a749..c091691c6 100644
--- a/src/modules/m_conn_umodes.cpp
+++ b/src/modules/m_conn_umodes.cpp
@@ -29,7 +29,7 @@ class ModuleModesOnConnect : public Module
Implementation eventlist[] = { I_OnUserConnect, I_OnRehash };
ServerInstance->Modules->Attach(eventlist, this, 2);
// for things like +x on connect, important, otherwise we have to resort to config order (bleh) -- w00t
- ServerInstance->Modules->SetPriority(this, PRIO_FIRST);
+ ServerInstance->Modules->SetPriority(this, PRIORITY_FIRST);
}
diff --git a/src/modules/m_hostchange.cpp b/src/modules/m_hostchange.cpp
index 662ba5e60..d54076b43 100644
--- a/src/modules/m_hostchange.cpp
+++ b/src/modules/m_hostchange.cpp
@@ -56,7 +56,7 @@ class ModuleHostChange : public Module
void Prioritize()
{
Module* cloak = ServerInstance->Modules->Find("m_cloaking.so");
- ServerInstance->Modules->SetPriority(this, I_OnUserConnect, PRIO_AFTER, &cloak);
+ ServerInstance->Modules->SetPriority(this, I_OnUserConnect, PRIORITY_AFTER, &cloak);
}
diff --git a/src/modules/m_nicklock.cpp b/src/modules/m_nicklock.cpp
index a16d651e9..d475d59e0 100644
--- a/src/modules/m_nicklock.cpp
+++ b/src/modules/m_nicklock.cpp
@@ -196,7 +196,7 @@ class ModuleNickLock : public Module
void Prioritize()
{
Module *nflood = ServerInstance->Modules->Find("m_nickflood.so");
- ServerInstance->Modules->SetPriority(this, I_OnUserPreJoin, PRIO_BEFORE, &nflood);
+ ServerInstance->Modules->SetPriority(this, I_OnUserPreJoin, PRIORITY_BEFORE, &nflood);
}
virtual void OnCleanup(int target_type, void* item)
diff --git a/src/modules/m_securelist.cpp b/src/modules/m_securelist.cpp
index 2d55e3ced..1b0424ddb 100644
--- a/src/modules/m_securelist.cpp
+++ b/src/modules/m_securelist.cpp
@@ -87,7 +87,7 @@ class ModuleSecureList : public Module
void Prioritize()
{
Module* safelist = ServerInstance->Modules->Find("m_safelist.so");
- ServerInstance->Modules->SetPriority(this, I_OnPreCommand, PRIO_BEFORE, &safelist);
+ ServerInstance->Modules->SetPriority(this, I_OnPreCommand, PRIORITY_BEFORE, &safelist);
}
};
diff --git a/src/modules/m_spanningtree/main.cpp b/src/modules/m_spanningtree/main.cpp
index 511465084..da393858c 100644
--- a/src/modules/m_spanningtree/main.cpp
+++ b/src/modules/m_spanningtree/main.cpp
@@ -931,7 +931,7 @@ Version ModuleSpanningTree::GetVersion()
*/
void ModuleSpanningTree::Prioritize()
{
- ServerInstance->Modules->SetPriority(this, PRIO_LAST);
+ ServerInstance->Modules->SetPriority(this, PRIORITY_LAST);
}
MODULE_INIT(ModuleSpanningTree)
diff --git a/src/modules/m_spy.cpp b/src/modules/m_spy.cpp
index cc8a08674..d00983971 100644
--- a/src/modules/m_spy.cpp
+++ b/src/modules/m_spy.cpp
@@ -36,7 +36,7 @@ class ModuleSpy : public Module
{
/* To ensure that we get priority over namesx and delayjoin for names list generation */
Module* list[] = { ServerInstance->Modules->Find("m_namesx.so"), ServerInstance->Modules->Find("m_delayjoin.so") };
- ServerInstance->Modules->SetPriority(this, I_OnUserList, PRIO_BEFORE, list, 2);
+ ServerInstance->Modules->SetPriority(this, I_OnUserList, PRIORITY_BEFORE, list, 2);
}
virtual ~ModuleSpy()