summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHaruna <haru@dotalux.com>2014-12-06 16:43:43 +0100
committerHaruna <haru@dotalux.com>2014-12-06 16:43:43 +0100
commit04d981077de4bc5d6d0cf69a946091add1dc9309 (patch)
treef0d3797ac270d2ec85f7fdfa8cc52112a4975c75
parent867ca32885a67fa69a00a3814ba33208274e81ba (diff)
parent52d0958ba7701608cb77c9f7b16468ce1f227897 (diff)
downloadhercules-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.c4
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 ) {