diff options
author | Attila Molnar <attilamolnar@hush.com> | 2014-08-06 13:35:40 +0200 |
---|---|---|
committer | Attila Molnar <attilamolnar@hush.com> | 2014-08-06 13:35:40 +0200 |
commit | 51da1d3b59c25af4931b998cc23e2066392e548e (patch) | |
tree | 7f04223551f1a475f304befc744776bfadad0d9a /src/modules/m_operprefix.cpp | |
parent | 00660293338f6a78278e52d05f6cf9a7ef9acc64 (diff) |
Pass prefix rank and prefix char to PrefixMode constructor
Diffstat (limited to 'src/modules/m_operprefix.cpp')
-rw-r--r-- | src/modules/m_operprefix.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_operprefix.cpp b/src/modules/m_operprefix.cpp index 3f05dd086..262c034db 100644 --- a/src/modules/m_operprefix.cpp +++ b/src/modules/m_operprefix.cpp @@ -29,12 +29,12 @@ class OperPrefixMode : public PrefixMode { public: - OperPrefixMode(Module* Creator) : PrefixMode(Creator, "operprefix", 'y') + OperPrefixMode(Module* Creator) + : PrefixMode(Creator, "operprefix", 'y', OPERPREFIX_VALUE) { std::string pfx = ServerInstance->Config->ConfValue("operprefix")->getString("prefix", "!"); prefix = pfx.empty() ? '!' : pfx[0]; levelrequired = INT_MAX; - prefixrank = OPERPREFIX_VALUE; } }; |