diff options
author | Poison <poison.lethaliagaming@gmail.com> | 2014-12-06 22:09:37 +0800 |
---|---|---|
committer | Poison <poison.lethaliagaming@gmail.com> | 2014-12-06 22:09:37 +0800 |
commit | 52d0958ba7701608cb77c9f7b16468ce1f227897 (patch) | |
tree | f0d3797ac270d2ec85f7fdfa8cc52112a4975c75 /src | |
parent | 867ca32885a67fa69a00a3814ba33208274e81ba (diff) | |
download | hercules-52d0958ba7701608cb77c9f7b16468ce1f227897.tar.gz hercules-52d0958ba7701608cb77c9f7b16468ce1f227897.tar.bz2 hercules-52d0958ba7701608cb77c9f7b16468ce1f227897.tar.xz hercules-52d0958ba7701608cb77c9f7b16468ce1f227897.zip |
Replaced pincode_enabled to pincode->enabled
Diffstat (limited to 'src')
-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 ) { |