fix permissions for operserv fantasy commands

This commit is contained in:
root 2024-11-08 07:04:43 +00:00
parent f636021b9d
commit 2c9f4aeb5b

View File

@ -19,7 +19,7 @@ options
timeoutcheck = 3s
servicealias = yes
hidestatso = no
retrywait = 60s
retrywait = 8s
hideprivilegedcommands = yes
hideregisteredcommands = yes
didyoumeandifference = 4
@ -103,6 +103,18 @@ module { name = "enc_posix" }
module { name = "help" }
module
{
name = "dns"
nameserver = "/etc/resolv.conf"
timeout = 5
ip = "127.0.0.1"
port = 5353
admin = "no-reply@supernets.org"
nameservers = "ns1.supernets.org ns2.supernets.org"
refresh = 3600
}
#module
{
name = "dnsbl"
check_on_connect = no
@ -178,8 +190,8 @@ module { name = "rewrite" }
command
{
service = "CHANSERV";
name = "CLEAR";
command = "rewrite"
name = "CLEAR";
command = "rewrite"
rewrite = true
rewrite_source = "CLEAR $ USERS"
rewrite_target = "KICK $1 *"
@ -274,7 +286,6 @@ command { service = "BOTSERV"; name = "KICK UNDERLINES"; command = "botserv/kick
command { service = "BOTSERV"; name = "SET DONTKICKOPS"; command = "botserv/set/dontkickops"; }
command { service = "BOTSERV"; name = "SET DONTKICKVOICES"; command = "botserv/set/dontkickvoices"; }
module { name = "bs_set" }
command { service = "BOTSERV"; name = "SET"; command = "botserv/set"; }
command { service = "BOTSERV"; name = "SET BANEXPIRE"; command = "botserv/set/banexpire"; }
@ -888,7 +899,7 @@ module
}
command { service = "OPERSERV"; name = "SEEN"; command = "operserv/seen"; permission = "operserv/seen"; }
fantasy { name = "SEEN"; command = "operserv/seen"; prepend_channel = false; }
fantasy { name = "SEEN"; command = "operserv/seen"; prepend_channel = false; permission = "operserv/seen"; }
module
{
@ -978,7 +989,7 @@ command { service = "GLOBAL"; name = "HELP"; command = "generic/help"; }
module { name = "gl_global" }
command { service = "GLOBAL"; name = "GLOBAL"; command = "global/global"; permission = "global/global"; }
fantasy { name = "GLOBAL"; command = "global/global"; prepend_channel = false; }
fantasy { name = "GLOBAL"; command = "global/global"; prepend_channel = false; permission = "global/global"; }
module
{
@ -1102,6 +1113,8 @@ command { service = "MEMOSERV"; name = "RSEND"; command = "memoserv/rsend"; }
module { name = "ms_send" }
command { service = "MEMOSERV"; name = "SEND"; command = "memoserv/send"; }
fantasy { name = "NOTE"; command = "memoserv/send"; prepend_channel = true; }
module { name = "ms_sendall" }
command { service = "MEMOSERV"; name = "SENDALL"; command = "memoserv/sendall"; permission = "memoserv/sendall"; }
@ -1128,7 +1141,7 @@ module
forceemail = no
confirmemailchanges = no
unregistered_notice = "Your nickname is not registered. To register it, use: /msg NickServ HELP REGISTER"
defaults = "killprotect ns_private hide_email hide_mask memo_signon memo_receive autoop"
defaults = "ns_private hide_email hide_mask memo_signon memo_receive autoop"
regdelay = 8m
expire = 32y
secureadmins = yes
@ -1136,7 +1149,7 @@ module
hidenetsplitquit = no
killquick = 20s
kill = 60s
restrictopernicks = no
restrictopernicks = yes
enforceruser = "OPERSERV"
enforcerhost = "services/_"
releasetimeout = 1m
@ -1348,7 +1361,7 @@ command { service = "OPERSERV"; name = "HELP"; command = "generic/help"; }
module { name = "os_akill" }
command { service = "OPERSERV"; name = "AKILL"; command = "operserv/akill"; permission = "operserv/akill"; }
fantasy { name = "AKILL"; command = "operserv/akill"; prepend_channel = false; }
fantasy { name = "AKILL"; command = "operserv/akill"; prepend_channel = false; permission = "operserv/akill"; }
module { name = "os_chankill" }
command { service = "OPERSERV"; name = "CHANKILL"; command = "operserv/chankill"; permission = "operserv/chankill"; }
@ -1372,7 +1385,7 @@ module
}
command { service = "OPERSERV"; name = "DEFCON"; command = "operserv/defcon"; permission = "operserv/defcon"; }
fantasy { name = "DEFCON"; command = "operserv/defcon"; prepend_channel = false; }
fantasy { name = "DEFCON"; command = "operserv/defcon"; prepend_channel = false; permission = "operserv/defcon"; }
module
{
@ -1401,13 +1414,14 @@ command { service = "OPERSERV"; name = "INFO"; command = "operserv/info"; permis
module { name = "os_jupe" }
command { service = "OPERSERV"; name = "JUPE"; command = "operserv/jupe"; permission = "operserv/jupe"; }
fantasy { name = "JUPE"; command = "operserv/jupe"; prepend_channel = false; }
fantasy { name = "JUPE"; command = "operserv/jupe"; prepend_channel = false; permission = "operserv/jupe"; }
module { name = "os_kick" }
command { service = "OPERSERV"; name = "KICK"; command = "operserv/kick"; permission = "operserv/kick"; }
module { name = "os_kill" }
command { service = "OPERSERV"; name = "KILL"; command = "operserv/kill"; permission = "operserv/kill"; }
fantasy { name = "KILL"; command = "operserv/kill"; prepend_channel = false; permission = "operserv/kill"; }
module { name = "os_list" }
command { service = "OPERSERV"; name = "CHANLIST"; command = "operserv/chanlist"; permission = "operserv/chanlist"; }
@ -1424,13 +1438,13 @@ module
}
command { service = "OPERSERV"; name = "LOGSEARCH"; command = "operserv/logsearch"; permission = "operserv/logsearch"; }
fantasy { name = "LOGSEARCH"; command = "operserv/LOGSEARCH"; prepend_channel = false; }
fantasy { name = "LOGSEARCH"; command = "operserv/LOGSEARCH"; prepend_channel = false; permission = "operserv/logsearch"; }
module { name = "os_mode" }
command { service = "OPERSERV"; name = "UMODE"; command = "operserv/umode"; permission = "operserv/umode"; }
command { service = "OPERSERV"; name = "MODE"; command = "operserv/mode"; permission = "operserv/mode"; }
fantasy { name = "MODESET"; command = "operserv/mode"; prepend_channel = false; }
fantasy { name = "MODESET"; command = "operserv/mode"; prepend_channel = false; permission = "operserv/mode"; }
module { name = "os_modinfo" }
@ -1452,21 +1466,23 @@ module
}
command { service = "OPERSERV"; name = "LOGONNEWS"; command = "operserv/logonnews"; permission = "operserv/news"; }
fantasy { name = "LOGONNEWS"; command = "operserv/logonnews"; prepend_channel = false; }
fantasy { name = "LOGONNEWS"; command = "operserv/logonnews"; prepend_channel = false; permission = "operserv/logonnews"; }
command { service = "OPERSERV"; name = "OPERNEWS"; command = "operserv/opernews"; permission = "operserv/news"; }
fantasy { name = "OPERNEWS"; command = "operserv/opernews"; prepend_channel = false; }
fantasy { name = "OPERNEWS"; command = "operserv/opernews"; prepend_channel = false; permission = "operserv/opernews"; }
command { service = "OPERSERV"; name = "RANDOMNEWS"; command = "operserv/randomnews"; permission = "operserv/news"; }
fantasy { name = "RANDOMNEWS"; command = "operserv/randomnews"; prepend_channel = false; }
fantasy { name = "RANDOMNEWS"; command = "operserv/randomnews"; prepend_channel = false; permission = "operserv/randomnews"; }
module { name = "os_noop" }
command { service = "OPERSERV"; name = "NOOP"; command = "operserv/noop"; permission = "operserv/noop"; }
fantasy { name = "NOOP"; command = "operserv/noop"; prepend_channel = false; }
# module { name = "os_noop" }
# command { service = "OPERSERV"; name = "NOOP"; command = "operserv/noop"; permission = "operserv/noop"; }
# fantasy { name = "NOOP"; command = "operserv/noop"; prepend_channel = false; }
module { name = "os_oper" }
command { service = "OPERSERV"; name = "OPER"; command = "operserv/oper"; permission = "operserv/oper"; }
fantasy { name = "OPER"; command = "operserv/oper"; prepend_channel = false; permission = "operserv/oper"; }
module { name = "os_reload" }
command { service = "OPERSERV"; name = "RELOAD"; command = "operserv/reload"; permission = "operserv/reload"; }
fantasy { name = "RELOAD"; command = "operserv/reload"; prepend_channel = false; permission = "operserv/reload"; }
module
{
@ -1483,9 +1499,9 @@ module
}
command { service = "OPERSERV"; name = "EXCEPTION"; command = "operserv/exception"; permission = "operserv/exception"; }
fantasy { name = "EXCEPTION"; command = "operserv/exception"; prepend_channel = false; }
fantasy { name = "EXCEPTION"; command = "operserv/exception"; prepend_channel = false; permission = "operserv/exception"; }
command { service = "OPERSERV"; name = "SESSION"; command = "operserv/session"; permission = "operserv/session"; }
fantasy { name = "SESSION"; command = "operserv/session"; prepend_channel = false; }
fantasy { name = "SESSION"; command = "operserv/session"; prepend_channel = false; permission = "operserv/session"; }
module
{
@ -1494,32 +1510,36 @@ module
}
command { service = "OPERSERV"; name = "SET"; command = "operserv/set"; permission = "operserv/set"; }
fantasy { name = "SET"; command = "operserv/set"; prepend_channel = false; }
fantasy { name = "SET"; command = "operserv/set"; prepend_channel = false; permission = "operserv/set"; }
module { name = "os_shutdown" }
command { service = "OPERSERV"; name = "QUIT"; command = "operserv/quit"; permission = "operserv/quit"; }
fantasy { name = "QUIT"; command = "operserv/quit"; prepend_channel = false; permission = "operserv/quit"; }
command { service = "OPERSERV"; name = "RESTART"; command = "operserv/restart"; permission = "operserv/restart"; }
fantasy { name = "RESTART"; command = "operserv/restart"; prepend_channel = false; permission = "operserv/restart"; }
command { service = "OPERSERV"; name = "SHUTDOWN"; command = "operserv/shutdown"; permission = "operserv/shutdown"; }
fantasy { name = "SHUTDOWN"; command = "operserv/shutdown"; prepend_channel = false; permission = "operserv/shutdown"; }
module { name = "os_stats" }
command { service = "OPERSERV"; name = "STATS"; command = "operserv/stats"; permission = "operserv/stats"; }
fantasy { name = "AKILL"; command = "operserv/akill"; prepend_channel = false; }
fantasy { name = "STATS"; command = "operserv/stats"; prepend_channel = false; permission = "operserv/stats"; }
module { name = "os_svs" }
command { service = "OPERSERV"; name = "SVSNICK"; command = "operserv/svsnick"; permission = "operserv/svs"; }
fantasy { name = "SVSNICK"; command = "operserv/svsnick"; prepend_channel = false; }
fantasy { name = "SVSNICK"; command = "operserv/svsnick"; prepend_channel = false; permission = "operserv/svs"; }
command { service = "OPERSERV"; name = "SVSJOIN"; command = "operserv/svsjoin"; permission = "operserv/svs"; }
fantasy { name = "SVSJOIN"; command = "operserv/svsjoin"; prepend_channel = false; }
fantasy { name = "SVSJOIN"; command = "operserv/svsjoin"; prepend_channel = false; permission = "operserv/svs"; }
command { service = "OPERSERV"; name = "SVSPART"; command = "operserv/svspart"; permission = "operserv/svs"; }
fantasy { name = "SVSPART"; command = "operserv/svspart"; prepend_channel = false; }
fantasy { name = "SVSPART"; command = "operserv/svspart"; prepend_channel = false; permission = "operserv/svs"; }
module { name = "os_sxline" }
command { service = "OPERSERV"; name = "SNLINE"; command = "operserv/snline"; permission = "operserv/snline"; }
fantasy { name = "SNLINE"; command = "operserv/snline"; prepend_channel = false; }
fantasy { name = "SNLINE"; command = "operserv/snline"; prepend_channel = false; permission = "operserv/snline"; }
command { service = "OPERSERV"; name = "SQLINE"; command = "operserv/sqline"; permission = "operserv/sqline"; }
fantasy { name = "SQLINE"; command = "operserv/sqline"; prepend_channel = false; }
fantasy { name = "SQLINE"; command = "operserv/sqline"; prepend_channel = false; permission = "operserv/sqline"; }
module { name = "os_update" }
command { service = "OPERSERV"; name = "UPDATE"; command = "operserv/update"; permission = "operserv/update"; }
fantasy { name = "UPDATE"; command = "operserv/update"; prepend_channel = false; permission = "operserv/update"; }