diff options
Diffstat (limited to 'src/guild.cpp')
-rw-r--r-- | src/guild.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/guild.cpp b/src/guild.cpp index 9dd83bb40..2d4633619 100644 --- a/src/guild.cpp +++ b/src/guild.cpp @@ -179,6 +179,8 @@ GuildMember *Guild::getMember(const std::string &name) const void Guild::removeMember(const GuildMember *const member) { + if (!member) + return; MemberList::iterator itr = mMembers.begin(); const MemberList::iterator itr_end = mMembers.end(); while (itr != itr_end) |