summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/echar/int_party.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/echar/int_party.c b/src/echar/int_party.c
index e7cd658..9c24888 100644
--- a/src/echar/int_party.c
+++ b/src/echar/int_party.c
@@ -37,8 +37,7 @@ bool einter_party_change_option_pre(int *party_id __attribute__ ((unused)),
int *item __attribute__ ((unused)),
int *map_fd __attribute__ ((unused)))
{
- if (!exp)
- (*exp) = 1;
+ (*exp) = 1;
return true;
}