summaryrefslogtreecommitdiff
path: root/src/modules/m_ojoin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_ojoin.cpp')
-rw-r--r--src/modules/m_ojoin.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/modules/m_ojoin.cpp b/src/modules/m_ojoin.cpp
index ff92f3fae..999cd5b64 100644
--- a/src/modules/m_ojoin.cpp
+++ b/src/modules/m_ojoin.cpp
@@ -110,11 +110,7 @@ class NetworkPrefix : public ModeHandler
prefix = NPrefix;
levelrequired = INT_MAX;
m_paramtype = TR_NICK;
- }
-
- unsigned int GetPrefixRank()
- {
- return NETWORK_VALUE;
+ prefixrank = NETWORK_VALUE;
}
ModResult AccessCheck(User* source, Channel* channel, std::string &parameter, bool adding)