summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-09-28 01:10:10 -0300
committerJesusaves <cpntb1@ymail.com>2020-09-28 01:10:10 -0300
commitaf3dc3c5c41a9a9935b05132a0d8efd21a9798be (patch)
treeecf93f19f62035b117c5aa9029bfe78983a51545
parentb5f94d06c03240d4ff0aa604984a6b008316b573 (diff)
downloadplugin-af3dc3c5c41a9a9935b05132a0d8efd21a9798be.tar.gz
plugin-af3dc3c5c41a9a9935b05132a0d8efd21a9798be.tar.bz2
plugin-af3dc3c5c41a9a9935b05132a0d8efd21a9798be.tar.xz
plugin-af3dc3c5c41a9a9935b05132a0d8efd21a9798be.zip
I am too noob at this.
-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;
}