diff options
author | Haruna <haru@dotalux.com> | 2014-12-06 16:43:43 +0100 |
---|---|---|
committer | Haruna <haru@dotalux.com> | 2014-12-06 16:43:43 +0100 |
commit | 04d981077de4bc5d6d0cf69a946091add1dc9309 (patch) | |
tree | f0d3797ac270d2ec85f7fdfa8cc52112a4975c75 | |
parent | 867ca32885a67fa69a00a3814ba33208274e81ba (diff) | |
parent | 52d0958ba7701608cb77c9f7b16468ce1f227897 (diff) | |
download | hercules-04d981077de4bc5d6d0cf69a946091add1dc9309.tar.gz hercules-04d981077de4bc5d6d0cf69a946091add1dc9309.tar.bz2 hercules-04d981077de4bc5d6d0cf69a946091add1dc9309.tar.xz hercules-04d981077de4bc5d6d0cf69a946091add1dc9309.zip |
Merge pull request #410 from pois8n/master
Replaced pincode_enabled to pincode->enabled
-rw-r--r-- | src/char/pincode.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/char/pincode.c b/src/char/pincode.c index 299079358..a3843ff53 100644 --- a/src/char/pincode.c +++ b/src/char/pincode.c @@ -152,9 +152,9 @@ bool pincode_config_read(char *w1, char *w2) { if ( strcmpi(w1, "pincode_enabled") == 0 ) { pincode->enabled = atoi(w2); #if PACKETVER < 20110309 - if( pincode_enabled ) { + if( pincode->enabled ) { ShowWarning("pincode_enabled requires PACKETVER 20110309 or higher. disabling...\n"); - pincode_enabled = 0; + pincode->enabled = 0; } #endif } else if ( strcmpi(w1, "pincode_changetime") == 0 ) { |