From 51da1d3b59c25af4931b998cc23e2066392e548e Mon Sep 17 00:00:00 2001 From: Attila Molnar Date: Wed, 6 Aug 2014 13:35:40 +0200 Subject: Pass prefix rank and prefix char to PrefixMode constructor --- src/modes/cmode_o.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/modes/cmode_o.cpp') diff --git a/src/modes/cmode_o.cpp b/src/modes/cmode_o.cpp index 496a32718..4325b94a3 100644 --- a/src/modes/cmode_o.cpp +++ b/src/modes/cmode_o.cpp @@ -23,9 +23,7 @@ #include "inspircd.h" #include "builtinmodes.h" -ModeChannelOp::ModeChannelOp() : PrefixMode(NULL, "op", 'o') +ModeChannelOp::ModeChannelOp() : PrefixMode(NULL, "op", 'o', OP_VALUE, '@') { - prefix = '@'; levelrequired = OP_VALUE; - prefixrank = OP_VALUE; } -- cgit v1.2.3