summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
Diffstat (limited to 'data')
-rw-r--r--data/chanserv.example.conf55
1 files changed, 48 insertions, 7 deletions
diff --git a/data/chanserv.example.conf b/data/chanserv.example.conf
index 1c0710f7b..d6d063ee0 100644
--- a/data/chanserv.example.conf
+++ b/data/chanserv.example.conf
@@ -228,6 +228,8 @@ chanserv
*
* If you loaded cs_flags, you may define a flag associated with that privilege for use in chanserv/flags.
*
+ * If you loaded cs_xop, you may define a xop command to associate the privilege with.
+ *
* Defining new privileges here is not useful unless you have a module (eg, a third party one) made to check for
* the specific level you are defining.
*
@@ -247,6 +249,7 @@ privilege
rank = 0
level = 10
flag = "f"
+ xop = "SOP"
}
/*
@@ -262,6 +265,7 @@ privilege
rank = 10
level = 3
flag = "f"
+ xop = "VOP"
}
/*
@@ -277,6 +281,7 @@ privilege
rank = 250
level = 10
flag = "K"
+ xop = "SOP"
}
/*
@@ -292,6 +297,7 @@ privilege
rank = 270
level = "founder"
flag = "s"
+ xop = "QOP"
}
/*
@@ -307,6 +313,7 @@ privilege
rank = 100
level = 4
flag = "H"
+ xop = "HOP"
}
/*
@@ -322,6 +329,7 @@ privilege
rank = 210
level = 5
flag = "O"
+ xop = "AOP"
}
/*
@@ -337,6 +345,7 @@ privilege
rank = 330
level = 9999
flag = "Q"
+ xop = "QOP"
}
/*
@@ -352,6 +361,7 @@ privilege
rank = 240
level = 10
flag = "A"
+ xop = "SOP"
}
/*
@@ -367,6 +377,7 @@ privilege
rank = 50
level = 3
flag = "V"
+ xop = "VOP"
}
/*
@@ -382,6 +393,7 @@ privilege
rank = 260
level = 10
flag = "K"
+ xop = "SOP"
}
/*
@@ -397,6 +409,7 @@ privilege
rank = 150
level = 4
flag = "b"
+ xop = "HOP"
}
/*
@@ -412,6 +425,7 @@ privilege
rank = 30
level = 3
flag = "c"
+ xop = "VOP"
}
/*
@@ -430,6 +444,7 @@ privilege
rank = 360
level = "founder"
flag = "F"
+ xop = "QOP"
}
/*
@@ -446,6 +461,7 @@ privilege
rank = 180
level = 5
flag = "G"
+ xop = "AOP"
}
/*
@@ -461,6 +477,7 @@ privilege
rank = 40
level = 5
flag = "g"
+ xop = "AOP"
}
/*
@@ -477,6 +494,7 @@ privilege
rank = 120
level = 5
flag = "h"
+ xop = "AOP"
}
/*
@@ -493,6 +511,7 @@ privilege
rank = 110
level = 4
flag = "h"
+ xop = "HOP"
}
/*
@@ -509,6 +528,7 @@ privilege
rank = 80
level = 9999
flag = "I"
+ xop = "QOP"
}
/*
@@ -525,6 +545,7 @@ privilege
rank = 190
level = 5
flag = "i"
+ xop = "AOP"
}
/*
@@ -540,6 +561,7 @@ privilege
rank = 130
level = 4
flag = "k"
+ xop = "HOP"
}
/*
@@ -556,6 +578,7 @@ privilege
rank = 280
level = 10
flag = "m"
+ xop = "SOP"
}
/*
@@ -572,6 +595,7 @@ privilege
rank = 170
level = 9999
flag = "s"
+ xop = "QOP"
}
/*
@@ -587,6 +611,7 @@ privilege
rank = 20
level = 1
flag = "N"
+ xop = "VOP"
}
/*
@@ -603,6 +628,7 @@ privilege
rank = 230
level = 5
flag = "o"
+ xop = "SOP"
}
/*
@@ -619,6 +645,7 @@ privilege
rank = 220
level = 5
flag = "o"
+ xop = "AOP"
}
/*
@@ -635,6 +662,7 @@ privilege
rank = 350
level = "founder"
flag = "q"
+ xop = "QOP"
}
/*
@@ -651,6 +679,7 @@ privilege
rank = 340
level = 9999
flag = "q"
+ xop = "QOP"
}
/*
@@ -667,6 +696,7 @@ privilege
rank = 310
level = 9999
flag = "a"
+ xop = "QOP"
}
/*
@@ -683,6 +713,7 @@ privilege
rank = 300
level = 10
flag = "a"
+ xop = "AOP"
}
/*
@@ -699,6 +730,7 @@ privilege
rank = 90
level = 5
flag = "B"
+ xop = "AOP"
}
/*
@@ -717,6 +749,7 @@ privilege
rank = 320
level = 9999
flag = "s"
+ xop = "QOP"
}
/*
@@ -733,6 +766,7 @@ privilege
rank = 140
level = 9999
flag = "K"
+ xop = "QOP"
}
/*
@@ -748,6 +782,7 @@ privilege
rank = 160
level = 5
flag = "t"
+ xop = "AOP"
}
/*
@@ -763,6 +798,7 @@ privilege
rank = 200
level = 4
flag = "u"
+ xop = "HOP"
}
/*
@@ -779,6 +815,7 @@ privilege
rank = 70
level = 4
flag = "v"
+ xop = "HOP"
}
/*
@@ -795,6 +832,7 @@ privilege
rank = 60
level = 3
flag = "v"
+ xop = "VOP"
}
/*
@@ -1181,17 +1219,20 @@ command { service = "ChanServ"; name = "UP"; command = "chanserv/up"; group = "c
/*
* cs_xop
*
- * Provides the commands chanserv/qop, chanserv/sop, chanserv/aop, chanserv/hop, and chanserv/vop.
+ * Provides the command chanserv/xop.
* Provides the access system "XOP".
*
- * Used for giving users access in channels.
+ * Used for giving users access in channels. Many commands may be linked to chanserv/xop, but the
+ * privileges given by each is determined by the privilege:xop settings above. These commands should
+ * be ordered from highest to lowest, as each command inherits the privileges of the commands below
+ * it.
*/
module { name = "cs_xop" }
-command { service = "ChanServ"; name = "QOP"; command = "chanserv/qop"; group = "chanserv/access"; }
-command { service = "ChanServ"; name = "SOP"; command = "chanserv/sop"; group = "chanserv/access"; }
-command { service = "ChanServ"; name = "AOP"; command = "chanserv/aop"; group = "chanserv/access"; }
-command { service = "ChanServ"; name = "HOP"; command = "chanserv/hop"; group = "chanserv/access"; }
-command { service = "ChanServ"; name = "VOP"; command = "chanserv/vop"; group = "chanserv/access"; }
+command { service = "ChanServ"; name = "QOP"; command = "chanserv/xop"; group = "chanserv/access"; }
+command { service = "ChanServ"; name = "SOP"; command = "chanserv/xop"; group = "chanserv/access"; }
+command { service = "ChanServ"; name = "AOP"; command = "chanserv/xop"; group = "chanserv/access"; }
+command { service = "ChanServ"; name = "HOP"; command = "chanserv/xop"; group = "chanserv/access"; }
+command { service = "ChanServ"; name = "VOP"; command = "chanserv/xop"; group = "chanserv/access"; }
/* Use m_rewrite to rewrite the op, deop, etc. commands (see modules.conf). */