summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/modules/m_ojoin.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/modules/m_ojoin.cpp b/src/modules/m_ojoin.cpp
index e3cbbbb41..e26646c3a 100644
--- a/src/modules/m_ojoin.cpp
+++ b/src/modules/m_ojoin.cpp
@@ -119,8 +119,6 @@ class ModuleOjoin : public Module
{
std::string npre = ServerInstance->Config->ConfValue("ojoin")->getString("prefix");
char NPrefix = npre.empty() ? 0 : npre[0];
- if (NPrefix && ServerInstance->Modes->FindPrefix(NPrefix))
- throw ModuleException("Looks like the prefix you picked for m_ojoin is already in use. Pick another.");
/* Initialise module variables */
np = new NetworkPrefix(this, NPrefix);