Implementare cerinte operator: +W automat, whois notices, host hiding automat pentru clienti
This commit is contained in:
1 parent
6ee149e53d
commit
2fdc9ad105
2 files changed
+3
-2
No files matched your search
@@ -730,6 +730,7 @@ features {
|
|||||||
"CHECK" = "TRUE";
|
"CHECK" = "TRUE";
|
||||||
"CHECK_EXTENDED" = "TRUE";
|
"CHECK_EXTENDED" = "TRUE";
|
||||||
"MAX_CHECK_OUTPUT" = "1000";
|
"MAX_CHECK_OUTPUT" = "1000";
|
||||||
|
"OPER_WHOIS_PARANOIA" = "TRUE";
|
||||||
|
|
||||||
# Admin commands
|
# Admin commands
|
||||||
"SETHOST" = "TRUE";
|
"SETHOST" = "TRUE";
|
||||||
|
|||||||
+2
-2
@@ -166,9 +166,9 @@ void do_oper(struct Client* cptr, struct Client* sptr, struct ConfItem* aconf)
|
|||||||
client_send_privs(&me, sptr, sptr);
|
client_send_privs(&me, sptr, sptr);
|
||||||
|
|
||||||
if (HasPriv(sptr, PRIV_PROPAGATE)) {
|
if (HasPriv(sptr, PRIV_PROPAGATE)) {
|
||||||
modes = (HasPriv(sptr, PRIV_ADMIN) ? "aowsg" : "owsg");
|
modes = (HasPriv(sptr, PRIV_ADMIN) ? "aowsgW" : "owsgW");
|
||||||
} else {
|
} else {
|
||||||
modes = "Owsg";
|
modes = "OwsgW";
|
||||||
}
|
}
|
||||||
|
|
||||||
sendcmdto_one(&me, CMD_MODE, sptr, "%s %s", cli_name(sptr), modes);
|
sendcmdto_one(&me, CMD_MODE, sptr, "%s %s", cli_name(sptr), modes);
|
||||||
|
|||||||
Reference in new issue
Block a user