summaryrefslogtreecommitdiff
path: root/src/net/tmwa/guildhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-05-24 21:16:44 +0300
committerAndrei Karas <akaras@inbox.ru>2015-05-24 21:16:44 +0300
commit4749c8977e2e803692bd844b5400f8d72cbaf17f (patch)
treeb60511d5c852566722590a7b0501a110ce0c2e99 /src/net/tmwa/guildhandler.cpp
parent3a883849147535b449bf4eb24563da4db8a1ef9c (diff)
downloadmanaverse-4749c8977e2e803692bd844b5400f8d72cbaf17f.tar.gz
manaverse-4749c8977e2e803692bd844b5400f8d72cbaf17f.tar.bz2
manaverse-4749c8977e2e803692bd844b5400f8d72cbaf17f.tar.xz
manaverse-4749c8977e2e803692bd844b5400f8d72cbaf17f.zip
Add strong typed bool type Online.
Diffstat (limited to 'src/net/tmwa/guildhandler.cpp')
-rw-r--r--src/net/tmwa/guildhandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/tmwa/guildhandler.cpp b/src/net/tmwa/guildhandler.cpp
index 29eeaaaa6..f58f873a4 100644
--- a/src/net/tmwa/guildhandler.cpp
+++ b/src/net/tmwa/guildhandler.cpp
@@ -389,7 +389,7 @@ void GuildHandler::processGuildMemberLogin(Net::MessageIn &msg)
{
m->setOnline(online);
if (guildTab)
- guildTab->showOnline(m->getName(), online);
+ guildTab->showOnline(m->getName(), fromBool(online, Online));
if (socialWindow)
socialWindow->updateGuildCounter();
}