summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2025-04-24 12:46:58 +0100
committerSadie Powell <sadie@witchery.services>2025-04-24 12:46:58 +0100
commitfad0a4a0e888b8025b0ae4e456085e28415b0453 (patch)
tree98bf9f117eaed9c0cad6af2dd049cf55c2ef0dd7 /include
parent1630ccedb11842dbe56d8ce2b9e9f54a53b01b8c (diff)
Add support for hashing operator passwords in the config.
Closes #327.
Diffstat (limited to 'include')
-rw-r--r--include/opertype.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/opertype.h b/include/opertype.h
index 16b52a34a..4094866ea 100644
--- a/include/opertype.h
+++ b/include/opertype.h
@@ -23,6 +23,7 @@ struct CoreExport Oper
/* Whether the user must be an IRC operator (umode +o) to be considered a services operator */
bool require_oper = true;
Anope::string password;
+ Anope::string password_hash;
std::vector<Anope::string> certfp;
/* Hosts allowed to use this operator block */
std::vector<Anope::string> hosts;