diff options
Diffstat (limited to 'src/modules/m_ojoin.cpp')
-rw-r--r-- | src/modules/m_ojoin.cpp | 6 |
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 ¶meter, bool adding) |