diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-02-18 21:33:21 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-02-18 21:33:21 +0300 |
commit | 25907c03212110f10c910b0ef90a416dff450ca7 (patch) | |
tree | fa409f004887619041e19f06f289d5ecb1c89e59 /src/net/ea/guildhandler.cpp | |
parent | 772daf48072915d598014c25a33ff3dc96e43bce (diff) | |
download | plus-25907c03212110f10c910b0ef90a416dff450ca7.tar.gz plus-25907c03212110f10c910b0ef90a416dff450ca7.tar.bz2 plus-25907c03212110f10c910b0ef90a416dff450ca7.tar.xz plus-25907c03212110f10c910b0ef90a416dff450ca7.zip |
Add option to show/hide guild online messages.
Disabled by default.
Diffstat (limited to 'src/net/ea/guildhandler.cpp')
-rw-r--r-- | src/net/ea/guildhandler.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/net/ea/guildhandler.cpp b/src/net/ea/guildhandler.cpp index 7c2592617..e9ec8c97d 100644 --- a/src/net/ea/guildhandler.cpp +++ b/src/net/ea/guildhandler.cpp @@ -149,7 +149,11 @@ void GuildHandler::processGuildMemberLogin(Net::MessageIn &msg) { GuildMember *const m = taGuild->getMember(accountId, charId); if (m) + { m->setOnline(online); + if (guildTab) + guildTab->showOnline(m->getName(), online); + } } } |