From 35987a1c74b708cd9ba2dc351400edd4d4046a6f Mon Sep 17 00:00:00 2001 From: Wilmer van der Gaast Date: Fri, 28 Feb 2014 23:17:28 +0000 Subject: Allow use of "ac x set -del password" to use /oper to change the password "securely". Patch from Flexo, bug #1117. --- irc_commands.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'irc_commands.c') 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; -- cgit v1.2.3