aboutsummaryrefslogtreecommitdiffstats
path: root/irc_commands.c
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2014-02-28 23:17:28 +0000
committerWilmer van der Gaast <wilmer@gaast.net>2014-02-28 23:17:28 +0000
commit35987a1c74b708cd9ba2dc351400edd4d4046a6f (patch)
tree34b8a4257258f13a4aa902169a6e7f81e75d1a43 /irc_commands.c
parent2e815e5627b54696d4a81cddd8162fa0414b118f (diff)
Allow use of "ac x set -del password" to use /oper to change the password
"securely". Patch from Flexo, bug #1117.
Diffstat (limited to 'irc_commands.c')
-rw-r--r--irc_commands.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/irc_commands.c b/irc_commands.c
index 3db243bf..19930121 100644
--- a/irc_commands.c
+++ b/irc_commands.c
@@ -432,7 +432,7 @@ static void irc_cmd_oper_hack( irc_t *irc, char **cmd )
/* /OPER can now also be used to enter IM/identify passwords without
echoing. It's a hack but the extra password security is worth it. */
- if( irc->status & OPER_HACK_ACCOUNT_ADD )
+ if( irc->status & OPER_HACK_ACCOUNT_PASSWORD )
{
account_t *a;