aboutsummaryrefslogtreecommitdiffstats
path: root/bitlbee.h
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@google.com>2010-11-22 13:17:45 +0000
committerWilmer van der Gaast <wilmer@google.com>2010-11-22 13:17:45 +0000
commit9564e55a35ebffaad644c13827ec2b795fb21154 (patch)
tree5ede79f1cdfd51d28ada354a7c17fed7b7306880 /bitlbee.h
parent09d4922d3740eb0ad2e42e02ca5d57f03b263eab (diff)
Allow omitting the password argument to "account add", to then separately
enter the password using the /OPER command (which will not echo to the screen and/or logs). It's a fairly ugly hack but the improved password security is worth it IMHO.
Diffstat (limited to 'bitlbee.h')
-rw-r--r--bitlbee.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/bitlbee.h b/bitlbee.h
index e6b99a7c..15b7bddf 100644
--- a/bitlbee.h
+++ b/bitlbee.h
@@ -125,6 +125,10 @@
#define HELP_FILE VARDIR "help.txt"
#define CONF_FILE_DEF ETCDIR "bitlbee.conf"
+/* Hack to give a little bit more password security on IRC: If an account has
+ this password set, use /OPER to change it. */
+#define PASSWORD_PENDING "\r\rchangeme\r\r"
+
#include "bee.h"
#include "irc.h"
#include "storage.h"