diff options
Diffstat (limited to 'src/guild.cpp')
-rw-r--r-- | src/guild.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/guild.cpp b/src/guild.cpp index 1e577b2b5..11817c48d 100644 --- a/src/guild.cpp +++ b/src/guild.cpp @@ -95,7 +95,7 @@ GuildMember *Guild::addMember(int accountId, int charId, const std::string &name) { GuildMember *m; - if (m = getMember(accountId, charId)) + if ((m = getMember(accountId, charId))) return m; m = new GuildMember(this, accountId, charId, name); @@ -108,7 +108,7 @@ GuildMember *Guild::addMember(int accountId, int charId, GuildMember *Guild::addMember(const std::string &name) { GuildMember *m; - if (m = getMember(name)) + if ((m = getMember(name))) return m; m = new GuildMember(this, name); |